projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e43182
)
rps: support IPIP encapsulation
author
Eric Dumazet
<
[email protected]
>
Wed, 24 Aug 2011 10:41:19 +0000
(10:41 +0000)
committer
David S. Miller
<
[email protected]
>
Wed, 24 Aug 2011 23:13:55 +0000
(16:13 -0700)
Skip IPIP header to get proper layer-4 information.
Like GRE tunnels, this only works if rxhash is not already provided by
the device itself (ethtool -K ethX rxhash off), to allow kernel compute
a software rxhash.
Signed-off-by: Eric Dumazet <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
net/core/dev.c
patch
|
blob
|
history
diff --git
a/net/core/dev.c
b/net/core/dev.c
index a4306f7e4d0962b31cfc61ad32c04958ea43ec0b..b668a3d9a18940a4831946d38d0dbf317c4ef253 100644
(file)
--- a/
net/core/dev.c
+++ b/
net/core/dev.c
@@
-2608,6
+2608,8
@@
again:
}
}
break;
+ case IPPROTO_IPIP:
+ goto again;
default:
break;
}