summaryrefslogtreecommitdiffstats
path: root/net/ceph/debugfs.c
diff options
context:
space:
mode:
authorDavid Miller <davem@davemloft.net>2014-12-16 23:58:17 +0100
committerDavid S. Miller <davem@davemloft.net>2014-12-18 18:35:23 +0100
commit4682a0358639b29cf69437ed909c6221f8c89847 (patch)
tree85469362ce075e5d59ebd3559f5e590749432e24 /net/ceph/debugfs.c
parentnet: Disallow providing non zero VLAN ID for NIC drivers FDB add flow (diff)
downloadlinux-4682a0358639b29cf69437ed909c6221f8c89847.tar.xz
linux-4682a0358639b29cf69437ed909c6221f8c89847.zip
netlink: Always copy on mmap TX.
Checking the file f_count and the nlk->mapped count is not completely sufficient to prevent the mmap'd area contents from changing from under us during netlink mmap sendmsg() operations. Be careful to sample the header's length field only once, because this could change from under us as well. Fixes: 5fd96123ee19 ("netlink: implement memory mapped sendmsg()") Signed-off-by: David S. Miller <davem@davemloft.net> Acked-by: Daniel Borkmann <dborkman@redhat.com> Acked-by: Thomas Graf <tgraf@suug.ch>
Diffstat (limited to 'net/ceph/debugfs.c')
0 files changed, 0 insertions, 0 deletions