bridge: Assign rtnl_link_ops to bridge devices created via ioctl (v2)
authorstephen hemminger <[email protected]>
Tue, 26 Jun 2012 05:48:45 +0000 (05:48 +0000)
committerDavid S. Miller <[email protected]>
Wed, 27 Jun 2012 04:12:32 +0000 (21:12 -0700)
commit149ddd83a92b02c658d6c61f3276eb6500d585e8
tree971f008d720e7c57f28de77cecfd3ea0eb2164e3
parentd7ffde35e31a81100d2d0d2c4013cbf527bb32ea
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 <[email protected]>
Signed-off-by: Stephen Hemminger <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/bridge/br_if.c
net/bridge/br_netlink.c
net/bridge/br_private.h