can: Add missing socket check in can/bcm release.
We can get here with a NULL socket argument passed from userspace, so we need to handle it accordingly. Signed-off-by: NDave Jones <davej@redhat.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录