net/x25: fix null_x25_address handling
authorMartin Schiller <ms@dev.tdt.de>
Tue, 27 Nov 2018 08:50:28 +0000 (09:50 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Nov 2018 22:25:36 +0000 (14:25 -0800)
commit06137619f061f498c2924f6543fa45b7d39f0501
treea7d0c8beda7aad18a7e720f6c03d397f185b29d0
parentd449ba3d581ed29f751a59792fdc775572c66904
net/x25: fix null_x25_address handling

o x25_find_listener(): the compare for the null_x25_address was wrong.
   We have to check the x25_addr of the listener socket instead of the
   x25_addr of the incomming call.

 o x25_bind(): it was not possible to bind a socket to null_x25_address

Signed-off-by: Martin Schiller <ms@dev.tdt.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/x25/af_x25.c