]> bbs.cooldavid.org Git - net-next-2.6.git/commit
[NET]: Convert link modification to new netlink api
authorThomas Graf <tgraf@suug.ch>
Fri, 11 Aug 2006 04:17:37 +0000 (21:17 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 22 Sep 2006 21:53:48 +0000 (14:53 -0700)
commitda5e0494c542dddc56a1f1edfd30310ea30f41ff
tree7b1a0d32607fa184f6b5a807cd877e9fe31a2bef
parent1823730fbc89fadde72a7bb3b7bdf03cc7b8835c
[NET]: Convert link modification to new netlink api

Transforms do_setlink() into rtnl_setlink() using the new
netlink api. A warning message printed to the console is
added in the event that a change request fails while part
of the change request has been comitted already. The ioctl()
based nature of net devices makes it almost impossible to
move on to atomic netlink operations without obsoleting
some of the functionality.

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