OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8283637
)
[IPV4] TUNNEL4: Fix incoming packet length check for inter-protocol tunnel.
author
YOSHIFUJI Hideaki
<yoshfuji@linux-ipv6.org>
Fri, 30 May 2008 02:35:03 +0000
(11:35 +0900)
committer
YOSHIFUJI Hideaki
<yoshfuji@linux-ipv6.org>
Wed, 4 Jun 2008 19:02:33 +0000
(
04:02
+0900)
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
net/ipv4/tunnel4.c
patch
|
blob
|
history
diff --git
a/net/ipv4/tunnel4.c
b/net/ipv4/tunnel4.c
index
d3b709a
..
cb1f0e8
100644
(file)
--- a/
net/ipv4/tunnel4.c
+++ b/
net/ipv4/tunnel4.c
@@
-97,7
+97,7
@@
static int tunnel64_rcv(struct sk_buff *skb)
{
struct xfrm_tunnel *handler;
- if (!pskb_may_pull(skb, sizeof(struct iphdr)))
+ if (!pskb_may_pull(skb, sizeof(struct ip
v6
hdr)))
goto drop;
for (handler = tunnel64_handlers; handler; handler = handler->next)