[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190702.151328.1681208493198386546.davem@davemloft.net>
Date: Tue, 02 Jul 2019 15:13:28 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: lucien.xin@...il.com
Cc: netdev@...r.kernel.org, jon.maloy@...csson.com,
ying.xue@...driver.com, tipc-discussion@...ts.sourceforge.net
Subject: Re: [PATCH net-next] tipc: remove ub->ubsock checks
From: Xin Long <lucien.xin@...il.com>
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 <lucien.xin@...il.com>
Looks good, applied.
Powered by blists - more mailing lists