projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1214538
)
IPv6: fix Routing Header Type 0 handling thinko
author
YOSHIFUJI Hideaki
<yoshfuji@linux-ipv6.org>
Wed, 25 Apr 2007 02:13:49 +0000
(11:13 +0900)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Wed, 25 Apr 2007 02:26:06 +0000
(19:26 -0700)
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>
net/ipv6/exthdrs.c
patch
|
blob
|
history
diff --git
a/net/ipv6/exthdrs.c
b/net/ipv6/exthdrs.c
index
6ed6a8c
..
fb39604
100644
(file)
--- a/
net/ipv6/exthdrs.c
+++ b/
net/ipv6/exthdrs.c
@@
-399,7
+399,7
@@
static int ipv6_rthdr_rcv(struct sk_buff **skbp)
break;
#endif
case IPV6_SRCRT_TYPE_0:
- if (accept_source_route
<=
0)
+ if (accept_source_route
>
0)
break;
kfree_skb(skb);
return -1;