aboutsummaryrefslogtreecommitdiffstats
path: root/net/l2tp/l2tp_netlink.c
diff options
context:
space:
mode:
authorSabrina Dubroca <sd@queasysnail.net>2018-04-10 16:28:55 +0200
committerDavid S. Miller <davem@davemloft.net>2018-04-11 14:48:05 -0400
commit9fffc5c6dd7dafb2e021dbbe9a30be2566a6949a (patch)
tree4fa9368ac79ecd4e3aac22df21d968d6cfd5d8a1 /net/l2tp/l2tp_netlink.c
parentlan78xx: Don't reset the interface on open (diff)
downloadlinux-dev-9fffc5c6dd7dafb2e021dbbe9a30be2566a6949a.tar.xz
linux-dev-9fffc5c6dd7dafb2e021dbbe9a30be2566a6949a.zip
tun: set the flags before registering the netdevice
Otherwise, register_netdevice advertises the creation of the device with the default flags, instead of what the user requested. Reported-by: Thomas Haller <thaller@redhat.com> Fixes: 1ec010e70593 ("tun: export flags, uid, gid, queue information over netlink") Signed-off-by: Sabrina Dubroca <sd@queasysnail.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/l2tp/l2tp_netlink.c')
0 files changed, 0 insertions, 0 deletions