Skip to content
Snippets Groups Projects
Commit f65d1f08 authored by Dan Carpenter's avatar Dan Carpenter Committed by David S. Miller
Browse files

hamradio: avoid null deref v3


This should address the problems in version 1 (lazy) and version 2 (ugly).

Bump the stats on orig_dev not on the newly assigned NULL dev variable.

Signed-off-by: default avatarDan Carpenter <error27@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c064efca
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment