projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4251320
)
[IPV6]: Clean up BACKTRACK().
author
Ville Nuorvala
<vnuorval@tcs.hut.fi>
Tue, 17 Oct 2006 05:11:11 +0000
(22:11 -0700)
committer
David S. Miller
<davem@sunset.davemloft.net>
Thu, 19 Oct 2006 02:55:28 +0000
(19:55 -0700)
The fn check is unnecessary as fn can never be NULL in BACKTRACK().
Signed-off-by: Ville Nuorvala <vnuorval@tcs.hut.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv6/route.c
b/net/ipv6/route.c
index a1b0f075462e0e64fd76a91cd6696765e0f8b6e4..263c057d17c6d96fad3d15e2a7990633ec96f6b7 100644
(file)
--- a/
net/ipv6/route.c
+++ b/
net/ipv6/route.c
@@
-484,7
+484,7
@@
int rt6_route_rcv(struct net_device *dev, u8 *opt, int len,
do { \
if (rt == &ip6_null_entry) { \
struct fib6_node *pn; \
- while (
fn
) { \
+ while (
1
) { \
if (fn->fn_flags & RTN_TL_ROOT) \
goto out; \
pn = fn->parent; \