]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/tipc/udp_media.c
tipc: send out RESET immediately when link goes down
[karo-tx-linux.git] / net / tipc / udp_media.c
index c170d3138953a2361df5439aeffadd29afa52ad9..9bc0b1e515fa3278955a60a31d8298f5ac600336 100644 (file)
@@ -425,7 +425,6 @@ static void tipc_udp_disable(struct tipc_bearer *b)
        }
        if (ub->ubsock)
                sock_set_flag(ub->ubsock->sk, SOCK_DEAD);
-       RCU_INIT_POINTER(b->media_ptr, NULL);
        RCU_INIT_POINTER(ub->bearer, NULL);
 
        /* sock_release need to be done outside of rtnl lock */