diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2011-08-24 06:41:19 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-08-24 19:13:55 -0400 |
commit | ec5efe7946280d1e84603389a1030ccec0a767ae (patch) | |
tree | 3097be415740de7f4e9d21ea84c363d88e881303 /net | |
parent | 0e43182c0c9482a26a4108da9254f3e2869a8e18 (diff) |
rps: support IPIP encapsulation
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 <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/core/dev.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/core/dev.c b/net/core/dev.c index a4306f7e4d09..b668a3d9a189 100644 --- a/net/core/dev.c +++ b/net/core/dev.c | |||
@@ -2608,6 +2608,8 @@ again: | |||
2608 | } | 2608 | } |
2609 | } | 2609 | } |
2610 | break; | 2610 | break; |
2611 | case IPPROTO_IPIP: | ||
2612 | goto again; | ||
2611 | default: | 2613 | default: |
2612 | break; | 2614 | break; |
2613 | } | 2615 | } |