On Wed, 05 Apr 2023 21:25:49 -0700, Saravanan Vajravel wrote: > When unregistering MAD agent, srpt module has a non-null check > for 'mad_agent' pointer before invoking ib_unregister_mad_agent(). > This check can pass if 'mad_agent' variable holds an error value. > The 'mad_agent' can have an error value for a short window when > srpt_add_one() and srpt_remove_one() is executed simultaneously. > > In srpt module, added a valid pointer check for 'sport->mad_agent' > before unregistering MAD agent. > > [...] Applied, thanks! [1/1] RDMA/srpt: Add a check for valid 'mad_agent' pointer https://git.kernel.org/rdma/rdma/c/eca5cd9474cd26 Best regards, -- Leon Romanovsky <leon@xxxxxxxxxx>