]> err.no Git - linux-2.6/blobdiff - net/ipv6/xfrm6_output.c
[NET]: Use file->private_data to get socket pointer.
[linux-2.6] / net / ipv6 / xfrm6_output.c
index 601a148f60f39af5255d651eab7a1f8d23a35a57..6b9867717d117a6686edb9424ddbfb6e7a21aa05 100644 (file)
@@ -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;
        }