diff options
-rw-r--r-- | net/ipv6/ip6_output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/ip6_output.c b/net/ipv6/ip6_output.c index 7fefd9998466..4fbc40b13f19 100644 --- a/net/ipv6/ip6_output.c +++ b/net/ipv6/ip6_output.c | |||
@@ -890,7 +890,7 @@ int ip6_append_data(struct sock *sk, int getfrag(void *from, char *to, | |||
890 | np->cork.hop_limit = hlimit; | 890 | np->cork.hop_limit = hlimit; |
891 | np->cork.tclass = tclass; | 891 | np->cork.tclass = tclass; |
892 | mtu = dst_mtu(rt->u.dst.path); | 892 | mtu = dst_mtu(rt->u.dst.path); |
893 | if (np && np->frag_size < mtu) { | 893 | if (np->frag_size < mtu) { |
894 | if (np->frag_size) | 894 | if (np->frag_size) |
895 | mtu = np->frag_size; | 895 | mtu = np->frag_size; |
896 | } | 896 | } |