aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorMarco Oliverio <[email protected]>2019-12-02 19:54:30 +0100
committerPablo Neira Ayuso <[email protected]>2019-12-07 19:53:00 +0100
commit0b9173f4688dfa7c5d723426be1d979c24ce3d51 (patch)
treef2ce4b96d6ed153c586208c4e3f8500b2022e9d4 /tools/perf/scripts/python/failed-syscalls-by-pid.py
parent5a2e6af81807d4616f9839ad0ae7d1313b45c64d (diff)
netfilter: nf_queue: enqueue skbs with NULL dst
Bridge packets that are forwarded have skb->dst == NULL and get dropped by the check introduced by b60a77386b1d4868f72f6353d35dabe5fbe981f2 (net: make skb_dst_force return true when dst is refcounted). To fix this we check skb_dst() before skb_dst_force(), so we don't drop skb packet with dst == NULL. This holds also for skb at the PRE_ROUTING hook so we remove the second check. Fixes: b60a77386b1d ("net: make skb_dst_force return true when dst is refcounted") Signed-off-by: Marco Oliverio <[email protected]> Signed-off-by: Rocco Folino <[email protected]> Acked-by: Florian Westphal <[email protected]> Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions