]> git.baikalelectronics.ru Git - kernel.git/commit
net/x25: handle call collisions
authorMartin Schiller <ms@dev.tdt.de>
Tue, 27 Nov 2018 08:50:29 +0000 (09:50 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Nov 2018 22:25:36 +0000 (14:25 -0800)
commitc00a0e49227c9c035af34518442d292d69e2dabf
tree0416911e00e9f98aafd8ca8df328c2cacdaa35b8
parent67d00801d36332ff0e69ba2260deb8161ff7b2f8
net/x25: handle call collisions

If a session in X25_STATE_1 (Awaiting Call Accept) receives a call
request, the session will be closed (x25_disconnect), cause=0x01
(Number Busy) and diag=0x48 (Call Collision) will be set and a clear
request will be send.

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