Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=a23cf14b161b8deeb0f701d577a0e8be6365e247 Commit: a23cf14b161b8deeb0f701d577a0e8be6365e247 Parent: 12145387a042e8aa4439485f8976e6992a529b12 Author: YOSHIFUJI Hideaki <[EMAIL PROTECTED]> AuthorDate: Wed Apr 25 11:13:49 2007 +0900 Committer: Linus Torvalds <[EMAIL PROTECTED]> CommitDate: Tue Apr 24 19:26:06 2007 -0700
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 <[EMAIL PROTECTED]> Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]> --- net/ipv6/exthdrs.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/net/ipv6/exthdrs.c b/net/ipv6/exthdrs.c index 6ed6a8c..fb39604 100644 --- 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; - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html