]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
[IPv6] iflink: Convert IPv6's RTM_GETLINK to use the new netlink api
authorThomas Graf <tgraf@suug.ch>
Wed, 15 Nov 2006 03:53:58 +0000 (19:53 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 3 Dec 2006 05:22:44 +0000 (21:22 -0800)
commit04561c1fe7b067a8250e6caaf168256783580c4c
tree482135e96087cb7c5c81a6a799d409a80f80fb41
parenta928630a2ffeaf6aa9a6b78456935b6ab1be3066
[IPv6] iflink: Convert IPv6's RTM_GETLINK to use the new netlink api

By replacing the current method of exporting the device configuration
which included allocating a temporary buffer, copying ipv6_devconf
into it and copying that buffer into the message with a method that
uses nla_reserve() allowing to copy the device configuration directly
into the skb data buffer, a GFP_ATOMIC allocation could be removed.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/addrconf.c