aboutsummaryrefslogtreecommitdiffstats
path: root/security/security.c
diff options
context:
space:
mode:
authorRichard Haines <richard_c_haines@btinternet.com>2017-11-13 20:54:22 +0000
committerPaul Moore <paul@paul-moore.com>2018-02-14 14:01:41 -0500
commit213d7f94775322ba44e0bbb55ec6946e9de88cea (patch)
treedaac5442060f3e2f198ed341cebf344edfc0bdc6 /security/security.c
parentLinux 4.16-rc1 (diff)
downloadlinux-dev-213d7f94775322ba44e0bbb55ec6946e9de88cea.tar.xz
linux-dev-213d7f94775322ba44e0bbb55ec6946e9de88cea.zip
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: Richard Haines <richard_c_haines@btinternet.com> Acked-by: Paul Moore <paul@paul-moore.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security/security.c')
0 files changed, 0 insertions, 0 deletions