Bluetooth: Fix l2cap_sock_setsockopt() with optname BT_RCVMTU
[firefly-linux-kernel-4.4.55.git] / net / ipv4 / tcp_ipv4.c
index 8c7e63163e9258ae328f02271100055274339969..048418b049d845fb89a5c5aafb7192c29d6c4ce3 100644 (file)
@@ -320,8 +320,6 @@ void tcp_req_err(struct sock *sk, u32 seq, bool abort)
        /* ICMPs are not backlogged, hence we cannot get
         * an established socket here.
         */
-       WARN_ON(req->sk);
-
        if (seq != tcp_rsk(req)->snt_isn) {
                NET_INC_STATS_BH(net, LINUX_MIB_OUTOFWINDOWICMPS);
        } else if (abort) {