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)
commitb020fcf6bb4b2d980298c416b3f407075aa2b3b6
tree0416911e00e9f98aafd8ca8df328c2cacdaa35b8
parent06137619f061f498c2924f6543fa45b7d39f0501
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