Skip to content
Commit 70c261d5 authored by Pablo Neira Ayuso's avatar Pablo Neira Ayuso
Browse files

netfilter: nf_tables_ipv6: consider network offset in netdev/egress validation



From netdev/egress, skb->len can include the ethernet header, therefore,
subtract network offset from skb->len when validating IPv6 packet length.

Fixes: 42df6e1d ("netfilter: Introduce egress hook")
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent 5fd06289
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment