OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9d819c
)
net/ipv4/route.c: prevent oops
author
Andrew Morton
<akpm@linux-foundation.org>
Tue, 22 Sep 2015 23:04:41 +0000
(09:04 +1000)
committer
Stephen Rothwell
<sfr@canb.auug.org.au>
Fri, 25 Sep 2015 04:18:20 +0000
(14:18 +1000)
Fix oops in ip_route_input_slow()
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
net/ipv4/route.c
patch
|
blob
|
history
diff --git
a/net/ipv4/route.c
b/net/ipv4/route.c
index
c9fd045
..
a30b9f3
100644
(file)
--- a/
net/ipv4/route.c
+++ b/
net/ipv4/route.c
@@
-1692,6
+1692,8
@@
static int ip_route_input_slow(struct sk_buff *skb, __be32 daddr, __be32 saddr,
struct net *net = dev_net(dev);
bool do_cache;
+ res.table = 0;
+
/* IP on this device is disabled. */
if (!in_dev)