diff options
author | Rémi Denis-Courmont <remi.denis-courmont@nokia.com> | 2011-03-08 23:44:06 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-03-09 20:59:29 +0100 |
commit | c69d4407d8884e8a127f95d07b1896443f3716ff (patch) | |
tree | 85989f9259365d5470113e810237b567ba93af37 /net/wireless/sme.c | |
parent | inetpeer: Don't disable BH for initial fast RCU lookup. (diff) | |
download | linux-c69d4407d8884e8a127f95d07b1896443f3716ff.tar.xz linux-c69d4407d8884e8a127f95d07b1896443f3716ff.zip |
Phonet: fix NULL dereference on TX path with implicit source
The previous Phonet patch series introduced per-socket implicit
destination (i.e. connect()). In that case, the destination
socket address is NULL in the transmit function.
However commit a8059512b120362b15424f152b2548fe8b11bd0c
("Phonet: implement per-socket destination/peer address")
is incomplete and would trigger a NULL dereference.
(Fortunately, the code is not in released kernel, and in fact
currently not reachable.)
Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/wireless/sme.c')
0 files changed, 0 insertions, 0 deletions