Hi Jon,
Before the change, dev->tipc_ptr is set/reset through tipc_enable_l2_media()
and tipc_disable_l2_media() which are called by tipc_enable_bearer() and
bearer_disable() respectively. Especially for bearer_disable(), it might be
invoked by the four functions tipc_enable_bearer(),
On 07/18/2016 05:41 AM, Xue, Ying wrote:
> Hi Jon,
>
> Although I know your purpose is right, unfortunately we cannot reset bearer
> like what we are doing in the patch. As you know, dev->tipc_ptr is protected
> by RTNL on write side and protected by RCU on read side. Regarding RCU
> locking