Skip to content
Commit 213d7f94 authored by Richard Haines's avatar Richard Haines Committed by Paul Moore
Browse files

netlabel: If PF_INET6, check sk_buff ip header version



When resolving a fallback label, check the sk_buff version as it
is possible (e.g. SCTP) to have family = PF_INET6 while
receiving ip_hdr(skb)->version = 4.

Signed-off-by: default avatarRichard Haines <richard_c_haines@btinternet.com>
Acked-by: default avatarPaul Moore <paul@paul-moore.com>
Signed-off-by: default avatarPaul Moore <paul@paul-moore.com>
parent 7928b2cb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment