Skip to content
Commit c5dea815 authored by Aditya Pakki's avatar Aditya Pakki Committed by David S. Miller
Browse files

net: caif: replace BUG_ON with recovery code



In caif_xmit, there is a crash if the ptr dev is NULL. However, by
returning the error to the callers, the error can be handled. The
patch fixes this issue.

Signed-off-by: default avatarAditya Pakki <pakki001@umn.edu>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent bbd20c93
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment