Richard Haines ce7da8b88f 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>
2018-05-30 07:52:40 +02:00
..
2018-05-16 10:10:29 +02:00
2018-05-19 10:20:23 +02:00
2018-05-30 07:52:16 +02:00
2018-05-30 07:51:57 +02:00
2018-05-19 10:20:26 +02:00
2018-05-30 07:52:05 +02:00
2018-02-22 15:42:23 +01:00