diff options
author | Martin Schiller <[email protected]> | 2020-01-09 07:31:14 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-01-09 18:39:33 -0800 |
commit | e21dba7a4df4d93da237da65a096084b4f2e87b4 (patch) | |
tree | fe4194f409a60212ac0b10cc6a18b19dc14e730f /drivers/fpga/fpga-mgr.c | |
parent | 3249b1e442a1be1a6b9f1026785b519d1443f807 (diff) |
net/x25: fix nonblocking connect
This patch fixes 2 issues in x25_connect():
1. It makes absolutely no sense to reset the neighbour and the
connection state after a (successful) nonblocking call of x25_connect.
This prevents any connection from being established, since the response
(call accept) cannot be processed.
2. Any further calls to x25_connect() while a call is pending should
simply return, instead of creating new Call Request (on different
logical channels).
This patch should also fix the "KASAN: null-ptr-deref Write in
x25_connect" and "BUG: unable to handle kernel NULL pointer dereference
in x25_connect" bugs reported by syzbot.
Signed-off-by: Martin Schiller <[email protected]>
Reported-by: [email protected]
Reported-by: [email protected]
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions