aboutsummaryrefslogtreecommitdiffstats
path: root/net/l2tp/l2tp_netlink.c
diff options
context:
space:
mode:
authorSabrina Dubroca <sd@queasysnail.net>2018-04-10 16:28:56 +0200
committerDavid S. Miller <davem@davemloft.net>2018-04-11 14:48:05 -0400
commit83c1f36f9880814b24cdf6c2f91f66f61db65326 (patch)
treef80ca21c633842383f1f9950a821e4ce5bd7d26a /net/l2tp/l2tp_netlink.c
parenttun: set the flags before registering the netdevice (diff)
downloadlinux-dev-83c1f36f9880814b24cdf6c2f91f66f61db65326.tar.xz
linux-dev-83c1f36f9880814b24cdf6c2f91f66f61db65326.zip
tun: send netlink notification when the device is modified
I added dumping of link information about tun devices over netlink in commit 1ec010e70593 ("tun: export flags, uid, gid, queue information over netlink"), but didn't add the missing netlink notifications when the device's exported properties change. This patch adds notifications when owner/group or flags are modified, when queues are attached/detached, and when a tun fd is closed. 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