diff options
Diffstat (limited to 'net/ipv4')
-rw-r--r-- | net/ipv4/xfrm4_output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/xfrm4_output.c b/net/ipv4/xfrm4_output.c index 80baf4a3b1b5..baa0f63731fd 100644 --- a/net/ipv4/xfrm4_output.c +++ b/net/ipv4/xfrm4_output.c | |||
@@ -28,7 +28,7 @@ static int xfrm4_tunnel_check_size(struct sk_buff *skb) | |||
28 | if (!(ip_hdr(skb)->frag_off & htons(IP_DF)) || skb->local_df) | 28 | if (!(ip_hdr(skb)->frag_off & htons(IP_DF)) || skb->local_df) |
29 | goto out; | 29 | goto out; |
30 | 30 | ||
31 | mtu = xfrm_skb_dst_mtu(skb); | 31 | mtu = dst_mtu(skb_dst(skb)); |
32 | if (skb->len > mtu) { | 32 | if (skb->len > mtu) { |
33 | if (skb->sk) | 33 | if (skb->sk) |
34 | xfrm_local_error(skb, mtu); | 34 | xfrm_local_error(skb, mtu); |