aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorJohannes Berg <[email protected]>2009-07-07 01:43:02 +0000
committerJohn W. Linville <[email protected]>2009-07-08 19:24:26 +0000
commit4ff176674e75bdee9022dded415fb805f15700ad (patch)
treed4a103ec06836e07927930c6c86594ca00270a08 /net/unix/af_unix.c
parentssb: Add support for 4318E (diff)
downloadkernel-4ff176674e75bdee9022dded415fb805f15700ad.tar.gz
kernel-4ff176674e75bdee9022dded415fb805f15700ad.zip
mac80211_hwsim: avoid NULL access
There's a race condition -- started can be set to true before channel is set due to the way mac80211 callbacks currently work (->start should probably pass the channel we would like to have initially). For now simply add a check to hwsim to avoid dereferencing the NULL channel pointer. Signed-off-by: Johannes Berg <[email protected]> Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions