diff options
author | Ben Greear <greearb@candelatech.com> | 2013-06-19 23:06:26 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-06-24 15:55:36 +0200 |
commit | f9bef3df52fe61067e4c1c6cfb2037cb6b259a6a (patch) | |
tree | 80d8f1dfd41630b161095f301d4f158838dc73c0 /net/netrom/af_netrom.c | |
parent | wireless: add comments about bss refcounting (diff) | |
download | linux-f9bef3df52fe61067e4c1c6cfb2037cb6b259a6a.tar.xz linux-f9bef3df52fe61067e4c1c6cfb2037cb6b259a6a.zip |
wireless: check for dangling wdev->current_bss pointer
If it *is* still set when the netdev is being deleted,
then we are about to leak a pointer. Warn and clean up
in that case.
Signed-off-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/netrom/af_netrom.c')
0 files changed, 0 insertions, 0 deletions