Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

IPv6: fix Routing Header Type 0 handling thinko

Oops, thinko. The test for accempting a RH0 was exatly the wrong way
around.

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

YOSHIFUJI Hideaki and committed by
Linus Torvalds
a23cf14b 12145387

+1 -1
+1 -1
net/ipv6/exthdrs.c
··· 399 399 break; 400 400 #endif 401 401 case IPV6_SRCRT_TYPE_0: 402 - if (accept_source_route <= 0) 402 + if (accept_source_route > 0) 403 403 break; 404 404 kfree_skb(skb); 405 405 return -1;