]> git.baikalelectronics.ru Git - kernel.git/commit
inet: ip_skb_dst_mtu() should use sk_fullsock()
authorEric Dumazet <edumazet@google.com>
Mon, 5 Oct 2015 04:08:08 +0000 (21:08 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Oct 2015 09:45:24 +0000 (02:45 -0700)
commitf1dcf287931167c4552aefb7ac763e0eb5df7bb4
tree2892221a8b1f40f57e8c8bac5a6e453991e34a61
parent399044d227e8115598ccbfcbb7569c7ba29b56c2
inet: ip_skb_dst_mtu() should use sk_fullsock()

SYN_RECV & TIMEWAIT sockets are not full blown,
do not even try to call ip_sk_use_pmtu() on them.

Fixes: 4b6a53b8f218 ("tcp: attach SYNACK messages to request sockets instead of listener")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip.h