net: tcp: remove BUG_ON from tcp_v4_err
authorLi RongQing <lirongqing@baidu.com>
Fri, 9 Nov 2018 09:04:51 +0000 (17:04 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Nov 2018 23:16:29 +0000 (15:16 -0800)
commite6e8869aed897a021fafa6f412e9e4b7e2ea6cd3
tree616f7baee9ce68fb1ab53b45b5af1c3e47fbb5dc
parent307f39b021995db67b2f39da7af006e2376fb452
net: tcp: remove BUG_ON from tcp_v4_err

if skb is NULL pointer, and the following access of skb's
skb_mstamp_ns will trigger panic, which is same as BUG_ON

Signed-off-by: Li RongQing <lirongqing@baidu.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_ipv4.c