diff options
author | Florian Westphal <[email protected]> | 2011-08-30 15:01:20 +0200 |
---|---|---|
committer | Patrick McHardy <[email protected]> | 2011-08-30 15:01:20 +0200 |
commit | c6675233f9015d3c0460c8aab53ed9b99d915c64 (patch) | |
tree | 3d1b9b71059be24fe3a35411eecc62000bba5abc /net/lapb/lapb_timer.c | |
parent | 9823d9ff483af4ce8804a9eb69600ca739cd1f58 (diff) |
netfilter: nf_queue: reject NF_STOLEN verdicts from userspace
A userspace listener may send (bogus) NF_STOLEN verdict, which causes skb leak.
This problem was previously fixed via
64507fdbc29c3a622180378210ecea8659b14e40 (netfilter:
nf_queue: fix NF_STOLEN skb leak) but this had to be reverted because
NF_STOLEN can also be returned by a netfilter hook when iterating the
rules in nf_reinject.
Reject userspace NF_STOLEN verdict, as suggested by Michal Miroslaw.
This is complementary to commit fad54440438a7c231a6ae347738423cbabc936d9
(netfilter: avoid double free in nf_reinject).
Cc: Julian Anastasov <[email protected]>
Cc: Eric Dumazet <[email protected]>
Signed-off-by: Florian Westphal <[email protected]>
Signed-off-by: Patrick McHardy <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions