summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2010-08-24 15:27:34 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-09-20 13:36:42 -0700
commit39fc0591b8b83310bcdf8436bd1f226fc4d6fd23 (patch)
treeca250f38116759566745260f5dc1b5b1eaa12e12 /net/lapb/lapb_in.c
parent13d7e89ea21d11921cc64729341edb3fbdb70ca9 (diff)
ath5k: check return value of ieee80211_get_tx_rate
commit d8e1ba76d619dbc0be8fbeee4e6c683b5c812d3a upstream. This avoids a NULL pointer dereference as reported here: https://bugzilla.redhat.com/show_bug.cgi?id=625889 When the WARN condition is hit in ieee80211_get_tx_rate, it will return NULL. So, we need to check the return value and avoid dereferencing it in that case. Signed-off-by: John W. Linville <linville@tuxdriver.com> Acked-by: Bob Copeland <me@bobcopeland.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions