On Mon, Jul 12, 2021 at 05:30:35PM +0200, Oliver Hartkopp wrote: > From: Oliver Hartkopp <socketcan@xxxxxxxxxxxx> > > commit fb8696ab14adadb2e3f6c17c18ed26b3ecd96691 upstream. > > can_can_gw_rcv() is called under RCU protection, so after calling > can_rx_unregister(), we have to call synchronize_rcu in order to wait > for any RCU read-side critical sections to finish before removing the > kmem_cache entry with the referenced gw job entry. > > Link: https://lore.kernel.org/r/20210618173645.2238-1-socketcan@xxxxxxxxxxxx > Fixes: c1aabdf379bc ("can-gw: add netlink based CAN routing") > Cc: linux-stable <stable@xxxxxxxxxxxxxxx> > Signed-off-by: Oliver Hartkopp <socketcan@xxxxxxxxxxxx> > Signed-off-by: Marc Kleine-Budde <mkl@xxxxxxxxxxxxxx> > --- > net/can/gw.c | 3 +++ > 1 file changed, 3 insertions(+) Both now queued up, thanks. greg k-h