From: Eric Dumazet Date: Wed, 24 Aug 2011 10:41:19 +0000 (+0000) Subject: rps: support IPIP encapsulation X-Git-Tag: MMI-PSA29.97-13-9~18194^2~419 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ec5efe7946280d1e84603389a1030ccec0a767ae;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Signed-off-by: David S. Miller --- 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: } } break; + case IPPROTO_IPIP: + goto again; default: break; }