]> git.karo-electronics.de Git - linux-beck.git/commit
[NET]: Convert link dumping to new netlink api
authorThomas Graf <tgraf@suug.ch>
Sat, 5 Aug 2006 06:05:34 +0000 (23:05 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 22 Sep 2006 21:53:49 +0000 (14:53 -0700)
commitb60c5115f4abf0b961a18682889798dcfbe6a801
tree2612f4a912b3396b6770cb3b8a7ae0e71b0ecc13
parentda5e0494c542dddc56a1f1edfd30310ea30f41ff
[NET]: Convert link dumping to new netlink api

Transforms netlink code to dump link tables to use the new
netlink api. Makes rtnl_getlink() available regardless of the
availability of the wireless extensions.

Adding copy_rtnl_link_stats() avoids the structural dependency
of struct rtnl_link_stats on struct net_device_stats and thus
avoids troubles later on.

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