From: Rémi Denis-Courmont Date: Tue, 8 Mar 2011 22:44:06 +0000 (+0000) Subject: Phonet: fix NULL dereference on TX path with implicit source X-Git-Tag: v2.6.39-rc1~468^2~124 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c69d4407d8884e8a127f95d07b1896443f3716ff;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed