diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-07-27 00:09:16 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-07-27 00:09:16 +0400 |
commit | 1235f504aaba2ebeabc863fdb3ceac764a317d47 (patch) | |
tree | 58969a45226b9d35bbfc7ecc3dab2823c117db39 /net/Kconfig | |
parent | 7b5e078cf04ea5b8b7ccffaf9a3607097f5c2359 (diff) | |
download | linux-1235f504aaba2ebeabc863fdb3ceac764a317d47.tar.xz |
netlink: netlink_recvmsg() fix
commit 1dacc76d0014
(net/compat/wext: send different messages to compat tasks)
introduced a race condition on netlink, in case MSG_PEEK is used.
An skb given by skb_recv_datagram() might be shared, we must copy it
before any modification, or risk fatal corruption.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/Kconfig')
0 files changed, 0 insertions, 0 deletions