diff options
| author | Pablo Neira Ayuso <[email protected]> | 2022-07-05 08:26:15 +0000 |
|---|---|---|
| committer | Pablo Neira Ayuso <[email protected]> | 2022-07-09 07:55:43 +0000 |
| commit | 7a847c00eeba9744353ecdfad253143b9115678a (patch) | |
| tree | 334ddb11e408b95bc8f44e8daac2284abce96aa3 /net/lapb/lapb_in.c | |
| parent | netfilter: conntrack: fix crash due to confirmed bit load reordering (diff) | |
| download | kernel-7a847c00eeba9744353ecdfad253143b9115678a.tar.gz kernel-7a847c00eeba9744353ecdfad253143b9115678a.zip | |
netfilter: nf_log: incorrect offset to network header
NFPROTO_ARP is expecting to find the ARP header at the network offset.
In the particular case of ARP, HTYPE= field shows the initial bytes of
the ethernet header destination MAC address.
netdev out: IN= OUT=bridge0 MACSRC=c2:76:e5:71:e1:de MACDST=36:b0:4a:e2:72:ea MACPROTO=0806 ARP HTYPE=14000 PTYPE=0x4ae2 OPCODE=49782
NFPROTO_NETDEV egress hook is also expecting to find the IP headers at
the network offset.
Fixes: 35b9395104d5 ("netfilter: add generic ARP packet logger")
Reported-by: Tom Yan <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions
