summaryrefslogtreecommitdiff
path: root/include/linux/overflow.h
diff options
context:
space:
mode:
authorRichard Haines <richard_c_haines@btinternet.com>2017-11-13 20:54:22 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-05-30 07:49:17 +0200
commit9f67e91e85f88d7a50206c460de6bf5c4f15e870 (patch)
tree73140762a59994f5089a69eb17de1db23adb740c /include/linux/overflow.h
parent4ab64843325a6fa39f700d06f98da8da798648a4 (diff)
netlabel: If PF_INET6, check sk_buff ip header version
[ Upstream commit 213d7f94775322ba44e0bbb55ec6946e9de88cea ] 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> Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions