]> git.baikalelectronics.ru Git - kernel.git/commit
rtnetlink: provide api for getting and setting slave info
authorJiri Pirko <jiri@resnulli.us>
Wed, 22 Jan 2014 08:05:55 +0000 (09:05 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Jan 2014 05:57:05 +0000 (21:57 -0800)
commit47b8fbf467a70e111d66b79b4dc050bdc097be4a
treedbd5c9c4418d4a72fe44a5f9af0e51e0d2be747a
parentb4922620cc89d0e3331c7c08b853dcec77525179
rtnetlink: provide api for getting and setting slave info

Recent patch
bonding: add netlink attributes to slave link dev (89084f9fcf86)

Introduced yet another device specific way to access slave information
over rtnetlink. There is one already there for bridge.

This patch introduces generic way to do this, for getting and setting
info as well by extending link_ops. Later on, this new interface will
be used for bridge ports as well.

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/rtnetlink.h
include/uapi/linux/if_link.h
net/core/rtnetlink.c