aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorDoug Kehn <rdkehn@yahoo.com>2010-07-14 18:02:16 -0700
committerDavid S. Miller <davem@davemloft.net>2010-07-14 18:02:16 -0700
commit91a72a70594e5212c97705ca6a694bd307f7a26b (patch)
tree98e86dae9f15d98b199c96e18128a71155ce0e8e /include/net
parentnet: skb_tx_hash() fix relative to skb_orphan_try() (diff)
downloadlinux-dev-91a72a70594e5212c97705ca6a694bd307f7a26b.tar.xz
linux-dev-91a72a70594e5212c97705ca6a694bd307f7a26b.zip
net/core: neighbour update Oops
When configuring DMVPN (GRE + openNHRP) and a GRE remote address is configured a kernel Oops is observed. The obserseved Oops is caused by a NULL header_ops pointer (neigh->dev->header_ops) in neigh_update_hhs() when void (*update)(struct hh_cache*, const struct net_device*, const unsigned char *) = neigh->dev->header_ops->cache_update; is executed. The dev associated with the NULL header_ops is the GRE interface. This patch guards against the possibility that header_ops is NULL. This Oops was first observed in kernel version 2.6.26.8. Signed-off-by: Doug Kehn <rdkehn@yahoo.com> Acked-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions