Commit 149ddd83a92b02c658d6c61f3276eb6500d585e8
Committed by
David S. Miller
1 parent
d7ffde35e3
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
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>
Showing 3 changed files with 3 additions and 1 deletions Side-by-side Diff
net/bridge/br_if.c
net/bridge/br_netlink.c
net/bridge/br_private.h