Bug 84991
Summary: | Adding a gre tunnel causes a kernel stack trace | ||
---|---|---|---|
Product: | Networking | Reporter: | joe9mail (joe9mail) |
Component: | IPV4 | Assignee: | Stephen Hemminger (stephen) |
Status: | RESOLVED CODE_FIX | ||
Severity: | high | CC: | joe9mail |
Priority: | P1 | ||
Hardware: | x86-64 | ||
OS: | Linux | ||
Kernel Version: | 3.17.0-rc5 #82 SMP PREEMPT | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
joe9mail@gmail.com
2014-09-21 23:55:57 UTC
using git bisect, the below commit introduced the above bug. [7d442fab0a6777fd7612cfcada32ea859553d370] ipv4: Cache dst in tunnels commit 7d442fab0a6777fd7612cfcada32ea859553d370 Author: Tom Herbert <therbert@google.com> Date: Thu Jan 2 11:48:26 2014 -0800 ipv4: Cache dst in tunnels Avoid doing a route lookup on every packet being tunneled. In ip_tunnel.c cache the route returned from ip_route_output if the tunnel is "connected" so that all the rouitng parameters are taken from tunnel parms for a packet. Specifically, not NBMA tunnel and tos is from tunnel parms (not inner packet). Signed-off-by: Tom Herbert <therbert@google.com> Signed-off-by: David S. Miller <davem@davemloft.net> --- include/net/ip_tunnels.h | 3 +++ net/ipv4/ip_tunnel.c | 113 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------ 2 files changed, 92 insertions(+), 24 deletions(-) |