projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
205902e
)
[IPV6]: Fix xfrm tunnel oops with large packets
author
Herbert Xu
<herbert@gondor.apana.org.au>
Mon, 23 May 2005 20:11:07 +0000
(13:11 -0700)
committer
David S. Miller
<davem@davemloft.net>
Mon, 23 May 2005 20:11:07 +0000
(13:11 -0700)
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Acked-by: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/xfrm6_output.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv6/xfrm6_output.c
b/net/ipv6/xfrm6_output.c
index 601a148f60f39af5255d651eab7a1f8d23a35a57..6b9867717d117a6686edb9424ddbfb6e7a21aa05 100644
(file)
--- a/
net/ipv6/xfrm6_output.c
+++ b/
net/ipv6/xfrm6_output.c
@@
-84,6
+84,7
@@
static int xfrm6_tunnel_check_size(struct sk_buff *skb)
mtu = IPV6_MIN_MTU;
if (skb->len > mtu) {
+ skb->dev = dst->dev;
icmpv6_send(skb, ICMPV6_PKT_TOOBIG, 0, mtu, skb->dev);
ret = -EMSGSIZE;
}