From: David M. <da...@da...> - 2019-07-02 22:13:28
|
From: Xin Long <luc...@gm...> Date: Tue, 2 Jul 2019 00:57:19 +0800 > Both tipc_udp_enable and tipc_udp_disable are called under rtnl_lock, > ub->ubsock could never be NULL in tipc_udp_disable and cleanup_bearer, > so remove the check. > > Also remove the one in tipc_udp_enable by adding "free" label. > > Signed-off-by: Xin Long <luc...@gm...> Looks good, applied. |