diff options
author | stephen hemminger <shemminger@vyatta.com> | 2012-06-26 05:48:45 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-06-26 21:12:32 -0700 |
commit | 149ddd83a92b02c658d6c61f3276eb6500d585e8 (patch) | |
tree | 971f008d720e7c57f28de77cecfd3ea0eb2164e3 /net/bridge/br_private.h | |
parent | d7ffde35e31a81100d2d0d2c4013cbf527bb32ea (diff) | |
download | op-kernel-dev-149ddd83a92b02c658d6c61f3276eb6500d585e8.zip op-kernel-dev-149ddd83a92b02c658d6c61f3276eb6500d585e8.tar.gz |
bridge: Assign rtnl_link_ops to bridge devices created via ioctl (v2)
This ensures that bridges created with brctl(8) or ioctl(2) directly
also carry IFLA_LINKINFO when dumped over netlink. This also allows
to create a bridge with ioctl(2) and delete it with RTM_DELLINK.
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_private.h')
-rw-r--r-- | net/bridge/br_private.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/bridge/br_private.h b/net/bridge/br_private.h index 1a8ad4f..a768b24 100644 --- a/net/bridge/br_private.h +++ b/net/bridge/br_private.h @@ -549,6 +549,7 @@ extern int (*br_fdb_test_addr_hook)(struct net_device *dev, unsigned char *addr) #endif /* br_netlink.c */ +extern struct rtnl_link_ops br_link_ops; extern int br_netlink_init(void); extern void br_netlink_fini(void); extern void br_ifinfo_notify(int event, struct net_bridge_port *port); |