Re: [PATCH net] team: protect features update by RCU to avoid deadlock

2021-01-26 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (refs/heads/master): On Mon, 25 Jan 2021 08:44:16 +0100 you wrote: > Function __team_compute_features() is protected by team->lock > mutex when it is called from team_compute_features() used when > features of an underlying device is changed. This c

Re: [PATCH net] team: protect features update by RCU to avoid deadlock

2021-01-26 Thread Ivan Vecera
On Mon, 25 Jan 2021 12:53:22 -0800 Cong Wang wrote: > On Sun, Jan 24, 2021 at 11:44 PM Ivan Vecera wrote: > > > > Function __team_compute_features() is protected by team->lock > > mutex when it is called from team_compute_features() used when > > features of an underlying device is changed. This

Re: [PATCH net] team: protect features update by RCU to avoid deadlock

2021-01-26 Thread Jiri Pirko
Mon, Jan 25, 2021 at 08:44:16AM CET, ivec...@redhat.com wrote: >Function __team_compute_features() is protected by team->lock >mutex when it is called from team_compute_features() used when >features of an underlying device is changed. This causes >a deadlock when NETDEV_FEAT_CHANGE notifier for un

Re: [PATCH net] team: protect features update by RCU to avoid deadlock

2021-01-25 Thread Cong Wang
On Sun, Jan 24, 2021 at 11:44 PM Ivan Vecera wrote: > > Function __team_compute_features() is protected by team->lock > mutex when it is called from team_compute_features() used when > features of an underlying device is changed. This causes > a deadlock when NETDEV_FEAT_CHANGE notifier for underl

[PATCH net] team: protect features update by RCU to avoid deadlock

2021-01-24 Thread Ivan Vecera
Function __team_compute_features() is protected by team->lock mutex when it is called from team_compute_features() used when features of an underlying device is changed. This causes a deadlock when NETDEV_FEAT_CHANGE notifier for underlying device is fired due to change propagated from team driver