diff options
author | David Miller <[email protected]> | 2014-12-16 17:58:17 -0500 |
---|---|---|
committer | David S. Miller <[email protected]> | 2014-12-18 12:35:23 -0500 |
commit | 4682a0358639b29cf69437ed909c6221f8c89847 (patch) | |
tree | 85469362ce075e5d59ebd3559f5e590749432e24 /scripts/gdb/linux/tasks.py | |
parent | 65891feac27e26115dc4cce881743a1ac33372df (diff) |
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 <[email protected]>
Acked-by: Daniel Borkmann <[email protected]>
Acked-by: Thomas Graf <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions