summaryrefslogtreecommitdiff
path: root/net/ax25/af_ax25.c
diff options
context:
space:
mode:
authorBasil Gunn <basil@pacabunga.com>2017-01-14 23:18:55 +0300
committerDavid S. Miller <davem@davemloft.net>2017-01-16 22:39:58 +0300
commit8a367e74c0120ef68c8c70d5a025648c96626dff (patch)
treeb4a00d10c310c91f418947614021ed7a4db9c851 /net/ax25/af_ax25.c
parentf1f7714ea51c56b7163fb1a5acf39c6a204dd758 (diff)
downloadlinux-8a367e74c0120ef68c8c70d5a025648c96626dff.tar.xz
ax25: Fix segfault after sock connection timeout
The ax.25 socket connection timed out & the sock struct has been previously taken down ie. sock struct is now a NULL pointer. Checking the sock_flag causes the segfault. Check if the socket struct pointer is NULL before checking sock_flag. This segfault is seen in timed out netrom connections. Please submit to -stable. Signed-off-by: Basil Gunn <basil@pacabunga.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ax25/af_ax25.c')
0 files changed, 0 insertions, 0 deletions