Rémi Denis-Courmont c69d4407d8 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>
2011-03-09 11:59:29 -08:00
..
2010-10-25 13:09:44 -07:00
2011-01-27 14:15:54 -08:00
2011-01-12 19:00:40 -08:00
2011-03-07 15:51:13 -08:00
2010-10-21 15:44:13 +02:00
2011-03-01 22:51:52 -08:00
2010-04-20 16:37:13 -07:00
2011-02-09 22:36:13 -08:00
2010-12-16 13:44:24 -08:00
2010-10-15 15:53:27 +02:00
2011-02-23 14:11:30 -08:00