Re: [PATCH] can: Fix kernel panic at security_sock_rcv_skb
From: Eric Dumazet
Date: Thu Jan 12 2017 - 18:10:37 EST
On Thu, 2017-01-12 at 14:40 -0800, william.c.roberts@xxxxxxxxx wrote:
> From: Zhang Yanmin <yanmin.zhang@xxxxxxxxx>
>
> The patch is for fix the below kernel panic:
> BUG: unable to handle kernel NULL pointer dereference at (null)
> IP: [<ffffffff81495e25>] selinux_socket_sock_rcv_skb+0x65/0x2a0
Same patch was sent earlier, and we gave a feedback on it.
Adding synchronize_rcu() calls is a step backward.
https://patchwork.ozlabs.org/patch/714446/