net/x25: fix restart request/confirm handling
authorMartin Schiller <ms@dev.tdt.de>
Thu, 26 Nov 2020 06:35:56 +0000 (07:35 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sat, 28 Nov 2020 01:22:51 +0000 (17:22 -0800)
commitd023b2b9ccc2e7ec14b83aec634b5b51f621ef3a
tree65d257e3b8d2eefb18efceab015c0f1fbe264d96
parent62480b992ba3fb1d7260b11293aed9d6557831c7
net/x25: fix restart request/confirm handling

We have to take the actual link state into account to handle
restart requests/confirms well.

Signed-off-by: Martin Schiller <ms@dev.tdt.de>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/x25/x25_link.c