]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit67d00801d36332ff0e69ba2260deb8161ff7b2f8
treea7d0c8beda7aad18a7e720f6c03d397f185b29d0
parent520d2e62e2f47fae891041365f1b627180f0d5cc
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