summaryrefslogtreecommitdiffstats
path: root/drivers/net/wan/Makefile
diff options
context:
space:
mode:
authorXie He <xie.he.0141@gmail.com>2020-11-05 08:34:34 +0100
committerJakub Kicinski <kuba@kernel.org>2020-11-07 23:13:44 +0100
commitf8ae7bbec726f4d09ca19ecea45ea147b8801e10 (patch)
treeb7ed1cf9460da0ac7303e32e71058c7d5f515ee6 /drivers/net/wan/Makefile
parentnet: macb: fix NULL dereference due to no pcs_config method (diff)
downloadlinux-f8ae7bbec726f4d09ca19ecea45ea147b8801e10.tar.xz
linux-f8ae7bbec726f4d09ca19ecea45ea147b8801e10.zip
net: x25_asy: Delete the x25_asy driver
This driver transports LAPB (X.25 link layer) frames over TTY links. I can safely say that this driver has no actual user because it was not working at all until: commit 8fdcabeac398 ("drivers/net/wan/x25_asy: Fix to make it work") The code in its current state still has problems: 1. The uses of "struct x25_asy" in x25_asy_unesc (when receiving) and in x25_asy_write_wakeup (when sending) are not protected by locks against x25_asy_change_mtu's changing of the transmitting/receiving buffers. Also, all "netif_running" checks in this driver are not protected by locks against the ndo_stop function. 2. The driver stops all TTY read/write when the netif is down. I think this is not right because this may cause the last outgoing frame before the netif goes down to be incompletely transmitted, and the first incoming frame after the netif goes up to be incompletely received. And there may also be other problems. I was planning to fix these problems but after recent discussions about deleting other old networking code, I think we may just delete this driver, too. Signed-off-by: Xie He <xie.he.0141@gmail.com> Acked-by: Martin Schiller <ms@dev.tdt.de> Link: https://lore.kernel.org/r/20201105073434.429307-1-xie.he.0141@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/wan/Makefile')
-rw-r--r--drivers/net/wan/Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wan/Makefile b/drivers/net/wan/Makefile
index 380271a011e4..5b9dc85eae34 100644
--- a/drivers/net/wan/Makefile
+++ b/drivers/net/wan/Makefile
@@ -18,7 +18,6 @@ obj-$(CONFIG_HOSTESS_SV11) += z85230.o hostess_sv11.o
obj-$(CONFIG_SEALEVEL_4021) += z85230.o sealevel.o
obj-$(CONFIG_COSA) += cosa.o
obj-$(CONFIG_FARSYNC) += farsync.o
-obj-$(CONFIG_X25_ASY) += x25_asy.o
obj-$(CONFIG_LANMEDIA) += lmc/