diff options
author | Timothée COCAULT <[email protected]> | 2020-10-14 12:36:15 +0000 |
---|---|---|
committer | Pablo Neira Ayuso <[email protected]> | 2020-10-20 13:54:53 +0200 |
commit | 63137bc5882a1882c553d389fdeeeace86ee1741 (patch) | |
tree | c75c8eb65692b77fe046275e9238370deccbbc51 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 68f9f9c2c3b6a7259f6a92bc26cdc7bd22e7a982 (diff) |
netfilter: ebtables: Fixes dropping of small packets in bridge nat
Fixes an error causing small packets to get dropped. skb_ensure_writable
expects the second parameter to be a length in the ethernet payload.=20
If we want to write the ethernet header (src, dst), we should pass 0.
Otherwise, packets with small payloads (< ETH_ALEN) will get dropped.
Fixes: c1a831167901 ("netfilter: bridge: convert skb_make_writable to skb_ensure_writable")
Signed-off-by: Timothée COCAULT <[email protected]>
Reviewed-by: Florian Westphal <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions