Skip to contentSkip to conversation

Remove DECNET support from kernel

RFC In review Stephen Hemminger 4 participants 4 messages Jul 31, 2022 – Aug 1, 2022

Subsystems (6)
lore
Share & tools
lore
#0 lore raw

RFC 1/1 Remove DECNET support from kernel

Decnet is an obsolete network protocol that receives more attention from kernel janitors than users. It belongs in computer protocol history museum not in Linux kernel.

It has been Orphaned in kernel since 2010.
And the documentation link on Sourceforge says it is abandoned there.

Leave the UAPI alone to keep userspace programs compiling.

---
 .../admin-guide/kernel-parameters.txt         |    4 -
 Documentation/admin-guide/sysctl/net.rst      |    1 -
 Documentation/networking/decnet.rst           |  243 --
 Documentation/networking/index.rst            |    1 -
 .../userspace-api/ioctl/ioctl-number.rst      |    1 -
 MAINTAINERS                                   |    7 -
 arch/mips/configs/decstation_64_defconfig     |    2 -
 arch/mips/configs/decstation_defconfig        |    2 -
 arch/mips/configs/decstation_r4k_defconfig    |    2 -
 arch/mips/configs/gpr_defconfig               |    2 -
 arch/mips/configs/mtx1_defconfig              |    2 -
 arch/mips/configs/rm200_defconfig             |    2 -
 arch/powerpc/configs/ppc6xx_defconfig         |    2 -
 include/linux/netdevice.h                     |    4 -
 include/linux/netfilter.h                     |    5 -
 include/linux/netfilter_defs.h                |    8 -
 include/net/dn.h                              |  231 --
 include/net/dn_dev.h                          |  200 --
 include/net/dn_fib.h                          |  169 --
 include/net/dn_neigh.h                        |   32 -
 include/net/dn_nsp.h                          |  201 --
 include/net/dn_route.h                        |  118 -
 include/net/netns/netfilter.h                 |    3 -
 include/uapi/linux/dn.h                       |  149 -
 include/uapi/linux/netfilter_decnet.h         |   72 -
 include/uapi/linux/netlink.h                  |    2 +-
 net/Kconfig                                   |    2 -
 net/Makefile                                  |    1 -
 net/core/dev.c                                |    4 +-
 net/core/neighbour.c                          |    3 -
 net/decnet/Kconfig                            |   43 -
 net/decnet/Makefile                           |   10 -
 net/decnet/README                             |    8 -
 net/decnet/af_decnet.c                        | 2404 -----------------
 net/decnet/dn_dev.c                           | 1433 ----------
 net/decnet/dn_fib.c                           |  798 ------
 net/decnet/dn_neigh.c                         |  607 -----
 net/decnet/dn_nsp_in.c                        |  907 -------
 net/decnet/dn_nsp_out.c                       |  696 -----
 net/decnet/dn_route.c                         | 1922 -------------
 net/decnet/dn_rules.c                         |  253 --
 net/decnet/dn_table.c                         |  929 -------
 net/decnet/dn_timer.c                         |  104 -
 net/decnet/netfilter/Kconfig                  |   17 -
 net/decnet/netfilter/Makefile                 |    6 -
 net/decnet/netfilter/dn_rtmsg.c               |  158 --
 net/decnet/sysctl_net_decnet.c                |  362 ---
 net/mpls/af_mpls.c                            |    2 +-
 net/netfilter/core.c                          |   10 -
 net/netfilter/nfnetlink_hook.c                |    7 -
 50 files changed, 3 insertions(+), 12148 deletions(-)
 delete mode 100644 Documentation/networking/decnet.rst
 delete mode 100644 include/net/dn.h
 delete mode 100644 include/net/dn_dev.h
 delete mode 100644 include/net/dn_fib.h
 delete mode 100644 include/net/dn_neigh.h
 delete mode 100644 include/net/dn_nsp.h
 delete mode 100644 include/net/dn_route.h
 delete mode 100644 include/uapi/linux/dn.h
 delete mode 100644 include/uapi/linux/netfilter_decnet.h
 delete mode 100644 net/decnet/Kconfig
 delete mode 100644 net/decnet/Makefile
 delete mode 100644 net/decnet/README
 delete mode 100644 net/decnet/af_decnet.c
 delete mode 100644 net/decnet/dn_dev.c
 delete mode 100644 net/decnet/dn_fib.c
 delete mode 100644 net/decnet/dn_neigh.c
 delete mode 100644 net/decnet/dn_nsp_in.c
 delete mode 100644 net/decnet/dn_nsp_out.c
 delete mode 100644 net/decnet/dn_route.c
 delete mode 100644 net/decnet/dn_rules.c
 delete mode 100644 net/decnet/dn_table.c
 delete mode 100644 net/decnet/dn_timer.c
 delete mode 100644 net/decnet/netfilter/Kconfig
 delete mode 100644 net/decnet/netfilter/Makefile
 delete mode 100644 net/decnet/netfilter/dn_rtmsg.c
 delete mode 100644 net/decnet/sysctl_net_decnet.c
Documentation/admin-guide/kernel-parameters.txt +0 -4
index c0fdb04a0435..39ef76ae6103 100644
@@ -960,10 +960,6 @@
 
 	debugpat	[X86] Enable PAT debugging
 
-	decnet.addr=	[HW,NET]
-			Format: <area>[,<node>]
-			See also Documentation/networking/decnet.rst.
-
 	default_hugepagesz=
 			[HW] The size of the default HugeTLB page. This is
 			the size represented by the legacy /proc/ hugepages
Documentation/admin-guide/sysctl/net.rst +0 -1
index 805f2281e000..299d9c3407d3 100644
@@ -39,7 +39,6 @@ Table : Subdirectories in /proc/sys/net
  802       E802 protocol         ax25       AX25
  ethernet  Ethernet protocol     rose       X.25 PLP layer
  ipv4      IP version 4          x25        X.25 protocol
- bridge    Bridging              decnet     DEC net
  ipv6      IP version 6          tipc       TIPC
  ========= =================== = ========== ==================
 
Documentation/networking/decnet.rst deleted +0 -243

243 lines not on this page · raw message

Documentation/networking/index.rst +0 -1
index 03b215bddde8..bacadd09e570 100644
@@ -47,7 +47,6 @@ Contents:
    cdc_mbim
    dccp
    dctcp
-   decnet
    dns_resolver
    driver
    eql
Documentation/userspace-api/ioctl/ioctl-number.rst +0 -1
index fcab013e47c9..c2a7d7fd424e 100644
@@ -308,7 +308,6 @@ Code  Seq#    Include File                                           Comments
 0x89  00-06  arch/x86/include/asm/sockios.h
 0x89  0B-DF  linux/sockios.h
 0x89  E0-EF  linux/sockios.h                                         SIOCPROTOPRIVATE range
-0x89  E0-EF  linux/dn.h                                              PROTOPRIVATE range
 0x89  F0-FF  linux/sockios.h                                         SIOCDEVPRIVATE range
 0x8B  all    linux/wireless.h
 0x8C  00-3F                                                          WiNRADiO driver
MAINTAINERS +0 -7
index 1920d82db83e..0da37ba77d81 100644
@@ -5637,13 +5637,6 @@ F:	include/linux/tfrc.h
 F:	include/uapi/linux/dccp.h
 F:	net/dccp/
 
-DECnet NETWORK LAYER
-L:	[email protected]
-S:	Orphan
-W:	http://linux-decnet.sourceforge.net
-F:	Documentation/networking/decnet.rst
-F:	net/decnet/
-
 DECSTATION PLATFORM SUPPORT
 M:	"Maciej W. Rozycki" <[email protected]>
 L:	[email protected]
arch/mips/configs/decstation_64_defconfig +0 -2
index 0021427a1bbe..4044f2829759 100644
@@ -53,8 +53,6 @@ CONFIG_IPV6_SUBTREES=y
 CONFIG_NETWORK_SECMARK=y
 CONFIG_IP_SCTP=m
 CONFIG_VLAN_8021Q=m
-CONFIG_DECNET=m
-CONFIG_DECNET_ROUTER=y
 # CONFIG_WIRELESS is not set
 # CONFIG_UEVENT_HELPER is not set
 # CONFIG_FW_LOADER is not set
arch/mips/configs/decstation_defconfig +0 -2
index 7a97a0818ce4..157fc57520a7 100644
@@ -49,8 +49,6 @@ CONFIG_IPV6_SUBTREES=y
 CONFIG_NETWORK_SECMARK=y
 CONFIG_IP_SCTP=m
 CONFIG_VLAN_8021Q=m
-CONFIG_DECNET=m
-CONFIG_DECNET_ROUTER=y
 # CONFIG_WIRELESS is not set
 # CONFIG_UEVENT_HELPER is not set
 # CONFIG_FW_LOADER is not set
arch/mips/configs/decstation_r4k_defconfig +0 -2
index a0643363526d..f73c26ebfc83 100644
@@ -48,8 +48,6 @@ CONFIG_IPV6_SUBTREES=y
 CONFIG_NETWORK_SECMARK=y
 CONFIG_IP_SCTP=m
 CONFIG_VLAN_8021Q=m
-CONFIG_DECNET=m
-CONFIG_DECNET_ROUTER=y
 # CONFIG_WIRELESS is not set
 # CONFIG_UEVENT_HELPER is not set
 # CONFIG_FW_LOADER is not set
arch/mips/configs/gpr_defconfig +0 -2
index d82f4ebf687f..ce8a444957c1 100644
@@ -69,7 +69,6 @@ CONFIG_IP_NF_RAW=m
 CONFIG_IP_NF_ARPTABLES=m
 CONFIG_IP_NF_ARPFILTER=m
 CONFIG_IP_NF_ARP_MANGLE=m
-CONFIG_DECNET_NF_GRABULATOR=m
 CONFIG_BRIDGE_NF_EBTABLES=m
 CONFIG_BRIDGE_EBT_BROUTE=m
 CONFIG_BRIDGE_EBT_T_FILTER=m
@@ -99,7 +98,6 @@ CONFIG_ATM_MPOA=m
 CONFIG_ATM_BR2684=m
 CONFIG_BRIDGE=m
 CONFIG_VLAN_8021Q=m
-CONFIG_DECNET=m
 CONFIG_LLC2=m
 CONFIG_ATALK=m
 CONFIG_DEV_APPLETALK=m
arch/mips/configs/mtx1_defconfig +0 -2
index 4194e79b435c..1339c062a042 100644
@@ -116,7 +116,6 @@ CONFIG_IP6_NF_FILTER=m
 CONFIG_IP6_NF_TARGET_REJECT=m
 CONFIG_IP6_NF_MANGLE=m
 CONFIG_IP6_NF_RAW=m
-CONFIG_DECNET_NF_GRABULATOR=m
 CONFIG_BRIDGE_NF_EBTABLES=m
 CONFIG_BRIDGE_EBT_BROUTE=m
 CONFIG_BRIDGE_EBT_T_FILTER=m
@@ -146,7 +145,6 @@ CONFIG_ATM_MPOA=m
 CONFIG_ATM_BR2684=m
 CONFIG_BRIDGE=m
 CONFIG_VLAN_8021Q=m
-CONFIG_DECNET=m
 CONFIG_LLC2=m
 CONFIG_ATALK=m
 CONFIG_DEV_APPLETALK=m
arch/mips/configs/rm200_defconfig +0 -2
index 7d6f235e8ccb..04c681bd716e 100644
@@ -116,7 +116,6 @@ CONFIG_IP6_NF_FILTER=m
 CONFIG_IP6_NF_TARGET_REJECT=m
 CONFIG_IP6_NF_MANGLE=m
 CONFIG_IP6_NF_RAW=m
-CONFIG_DECNET_NF_GRABULATOR=m
 CONFIG_BRIDGE_NF_EBTABLES=m
 CONFIG_BRIDGE_EBT_BROUTE=m
 CONFIG_BRIDGE_EBT_T_FILTER=m
@@ -137,7 +136,6 @@ CONFIG_BRIDGE_EBT_REDIRECT=m
 CONFIG_BRIDGE_EBT_SNAT=m
 CONFIG_BRIDGE_EBT_LOG=m
 CONFIG_BRIDGE=m
-CONFIG_DECNET=m
 CONFIG_NET_SCHED=y
 CONFIG_NET_SCH_CBQ=m
 CONFIG_NET_SCH_HTB=m
arch/powerpc/configs/ppc6xx_defconfig +0 -2
index b622ecd73286..f1225e80878a 100644
@@ -243,8 +243,6 @@ CONFIG_ATM_LANE=m
 CONFIG_ATM_BR2684=m
 CONFIG_BRIDGE=m
 CONFIG_VLAN_8021Q=m
-CONFIG_DECNET=m
-CONFIG_DECNET_ROUTER=y
 CONFIG_ATALK=m
 CONFIG_DEV_APPLETALK=m
 CONFIG_IPDDP=m
include/linux/netdevice.h +0 -4
index 1a3cb93c3dcc..64e8662632f8 100644
@@ -1837,7 +1837,6 @@ enum netdev_ml_priv_type {
  *	@tipc_ptr:	TIPC specific data
  *	@atalk_ptr:	AppleTalk link
  *	@ip_ptr:	IPv4 specific data
- *	@dn_ptr:	DECnet specific data
  *	@ip6_ptr:	IPv6 specific data
  *	@ax25_ptr:	AX.25 specific data
  *	@ieee80211_ptr:	IEEE 802.11 specific data, assign before registering
@@ -2133,9 +2132,6 @@ struct net_device {
 #if IS_ENABLED(CONFIG_ATALK)
 	void 			*atalk_ptr;
 #endif
-#if IS_ENABLED(CONFIG_DECNET)
-	struct dn_dev __rcu     *dn_ptr;
-#endif
 #if IS_ENABLED(CONFIG_AX25)
 	void			*ax25_ptr;
 #endif
include/linux/netfilter.h +0 -5
index c2c6f332fb90..d8817d381c14 100644
@@ -243,11 +243,6 @@ static inline int nf_hook(u_int8_t pf, unsigned int hook, struct net *net,
 		hook_head = rcu_dereference(net->nf.hooks_bridge[hook]);
 #endif
 		break;
-#if IS_ENABLED(CONFIG_DECNET)
-	case NFPROTO_DECNET:
-		hook_head = rcu_dereference(net->nf.hooks_decnet[hook]);
-		break;
-#endif
 	default:
 		WARN_ON_ONCE(1);
 		break;
include/linux/netfilter_defs.h +0 -8
index 8dddfb151f00..a5f7bef1b3a4 100644
@@ -7,14 +7,6 @@
 /* in/out/forward only */
 #define NF_ARP_NUMHOOKS 3
 
-/* max hook is NF_DN_ROUTE (6), also see uapi/linux/netfilter_decnet.h */
-#define NF_DN_NUMHOOKS 7
-
-#if IS_ENABLED(CONFIG_DECNET)
-/* Largest hook number + 1, see uapi/linux/netfilter_decnet.h */
-#define NF_MAX_HOOKS	NF_DN_NUMHOOKS
-#else
 #define NF_MAX_HOOKS	NF_INET_NUMHOOKS
-#endif
 
 #endif
include/net/dn.h deleted +0 -231

231 lines not on this page · raw message

include/net/dn_dev.h deleted +0 -200

200 lines not on this page · raw message

include/net/dn_fib.h deleted +0 -169

169 lines not on this page · raw message

include/net/dn_neigh.h deleted +0 -32
deleted file mode 100644
index 1f7df98bfc33..000000000000
@@ -1,32 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-#ifndef _NET_DN_NEIGH_H
-#define _NET_DN_NEIGH_H
-
-#include <net/neighbour.h>
-
-/*
- * The position of the first two fields of
- * this structure are critical - SJW
- */
-struct dn_neigh {
-        struct neighbour n;
-	__le16 addr;
-        unsigned long flags;
-#define DN_NDFLAG_R1    0x0001 /* Router L1      */
-#define DN_NDFLAG_R2    0x0002 /* Router L2      */
-#define DN_NDFLAG_P3    0x0004 /* Phase III Node */
-        unsigned long blksize;
-	__u8 priority;
-};
-
-void dn_neigh_init(void);
-void dn_neigh_cleanup(void);
-int dn_neigh_router_hello(struct net *net, struct sock *sk, struct sk_buff *skb);
-int dn_neigh_endnode_hello(struct net *net, struct sock *sk, struct sk_buff *skb);
-void dn_neigh_pointopoint_hello(struct sk_buff *skb);
-int dn_neigh_elist(struct net_device *dev, unsigned char *ptr, int n);
-int dn_to_neigh_output(struct net *net, struct sock *sk, struct sk_buff *skb);
-
-extern struct neigh_table dn_neigh_table;
-
-#endif /* _NET_DN_NEIGH_H */
include/net/dn_nsp.h deleted +0 -201

201 lines not on this page · raw message

include/net/dn_route.h deleted +0 -118

118 lines not on this page · raw message

include/net/netns/netfilter.h +0 -3
index b593f95e9991..02bbdc577f8e 100644
@@ -24,9 +24,6 @@ struct netns_nf {
 #ifdef CONFIG_NETFILTER_FAMILY_BRIDGE
 	struct nf_hook_entries __rcu *hooks_bridge[NF_INET_NUMHOOKS];
 #endif
-#if IS_ENABLED(CONFIG_DECNET)
-	struct nf_hook_entries __rcu *hooks_decnet[NF_DN_NUMHOOKS];
-#endif
 #if IS_ENABLED(CONFIG_NF_DEFRAG_IPV4)
 	unsigned int defrag_ipv4_users;
 #endif
include/uapi/linux/dn.h deleted +0 -149

149 lines not on this page · raw message

include/uapi/linux/netfilter_decnet.h deleted +0 -72

72 lines not on this page · raw message

include/uapi/linux/netlink.h +1 -1
index 855dffb4c1c3..1e543cf0568c 100644
@@ -20,7 +20,7 @@
 #define NETLINK_CONNECTOR	11
 #define NETLINK_NETFILTER	12	/* netfilter subsystem */
 #define NETLINK_IP6_FW		13
-#define NETLINK_DNRTMSG		14	/* DECnet routing messages */
+#define NETLINK_DNRTMSG		14	/* DECnet routing messages (obsolete) */
 #define NETLINK_KOBJECT_UEVENT	15	/* Kernel messages to userspace */
 #define NETLINK_GENERIC		16
 /* leave room for NETLINK_DM (DM Events) */
net/Kconfig +0 -2
index 6b78f695caa6..48c33c222199 100644
@@ -204,7 +204,6 @@ config BRIDGE_NETFILTER
 source "net/netfilter/Kconfig"
 source "net/ipv4/netfilter/Kconfig"
 source "net/ipv6/netfilter/Kconfig"
-source "net/decnet/netfilter/Kconfig"
 source "net/bridge/netfilter/Kconfig"
 
 endif
@@ -221,7 +220,6 @@ source "net/802/Kconfig"
 source "net/bridge/Kconfig"
 source "net/dsa/Kconfig"
 source "net/8021q/Kconfig"
-source "net/decnet/Kconfig"
 source "net/llc/Kconfig"
 source "drivers/net/appletalk/Kconfig"
 source "net/x25/Kconfig"
net/Makefile +0 -1
index fbfeb8a0bb37..6a62e5b27378 100644
@@ -38,7 +38,6 @@ obj-$(CONFIG_AF_KCM)		+= kcm/
 obj-$(CONFIG_STREAM_PARSER)	+= strparser/
 obj-$(CONFIG_ATM)		+= atm/
 obj-$(CONFIG_L2TP)		+= l2tp/
-obj-$(CONFIG_DECNET)		+= decnet/
 obj-$(CONFIG_PHONET)		+= phonet/
 ifneq ($(CONFIG_VLAN_8021Q),)
 obj-y				+= 8021q/
net/core/dev.c +1 -3
index 716df64fcfa5..6847022b9d66 100644
@@ -10370,9 +10370,7 @@ void netdev_run_todo(void)
 		BUG_ON(!list_empty(&dev->ptype_specific));
 		WARN_ON(rcu_access_pointer(dev->ip_ptr));
 		WARN_ON(rcu_access_pointer(dev->ip6_ptr));
-#if IS_ENABLED(CONFIG_DECNET)
-		WARN_ON(dev->dn_ptr);
-#endif
+
 		if (dev->priv_destructor)
 			dev->priv_destructor(dev);
 		if (dev->needs_free_netdev)
net/core/neighbour.c +0 -3
index 6a8c2596ebab..afe88a31f027 100644
@@ -1819,9 +1819,6 @@ static struct neigh_table *neigh_find_table(int family)
 	case AF_INET6:
 		tbl = neigh_tables[NEIGH_ND_TABLE];
 		break;
-	case AF_DECnet:
-		tbl = neigh_tables[NEIGH_DN_TABLE];
-		break;
 	}
 
 	return tbl;
net/decnet/Kconfig deleted +0 -43

43 lines not on this page · raw message

net/decnet/Makefile deleted +0 -10
deleted file mode 100644
index 07b38e441b2d..000000000000
@@ -1,10 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0
-
-obj-$(CONFIG_DECNET) += decnet.o
-
-decnet-y := af_decnet.o dn_nsp_in.o dn_nsp_out.o \
-	    dn_route.o dn_dev.o dn_neigh.o dn_timer.o
-decnet-$(CONFIG_DECNET_ROUTER) += dn_fib.o dn_rules.o dn_table.o
-decnet-y += sysctl_net_decnet.o
-
-obj-$(CONFIG_NETFILTER) += netfilter/
net/decnet/README deleted +0 -8
deleted file mode 100644
index 60e7ec88c81f..000000000000
@@ -1,8 +0,0 @@
-                       Linux DECnet Project
-                      ======================
-
-The documentation for this kernel subsystem is available in the
-Documentation/networking subdirectory of this distribution and also
-on line at http://www.chygwyn.com/DECnet/
-
-Steve Whitehouse <[email protected]>
net/decnet/af_decnet.c deleted +0 -2404

1,308 lines not on this page · raw message

net/decnet/dn_dev.c deleted +0 -1433

1,433 lines not on this page · raw message

net/decnet/dn_fib.c deleted +0 -798

798 lines not on this page · raw message

net/decnet/dn_neigh.c deleted +0 -607

607 lines not on this page · raw message

net/decnet/dn_nsp_in.c deleted +0 -907

907 lines not on this page · raw message

net/decnet/dn_nsp_out.c deleted +0 -696

696 lines not on this page · raw message

net/decnet/dn_route.c deleted +0 -1922

1,922 lines not on this page · raw message

net/decnet/dn_rules.c deleted +0 -253

253 lines not on this page · raw message

net/decnet/dn_table.c deleted +0 -929

929 lines not on this page · raw message

net/decnet/dn_timer.c deleted +0 -104

104 lines not on this page · raw message

net/decnet/netfilter/Kconfig deleted +0 -17
deleted file mode 100644
index 14ec4ef95fab..000000000000

Lines of this file are not shown. View the raw message.

net/decnet/netfilter/Makefile deleted +0 -6
deleted file mode 100644
index 429c84289d0f..000000000000

Lines of this file are not shown. View the raw message.

net/decnet/netfilter/dn_rtmsg.c deleted +0 -158

158 lines not on this page · raw message

net/decnet/sysctl_net_decnet.c deleted +0 -362

362 lines not on this page · raw message

net/mpls/af_mpls.c +1 -1
index 35b5f806fdda..744fe9312116 100644

Lines of this file are not shown. View the raw message.

net/netfilter/core.c +0 -10
index dcf752b55a52..5a6705a0e4ec 100644

Lines of this file are not shown. View the raw message.

net/netfilter/nfnetlink_hook.c +0 -7
index 71e29adac48b..8120aadf6a0f 100644

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.35.1

Part of the diff is not shown here. View the raw message.

#1 lore raw

Documentation/admin-guide/sysctl/net.rst Table : Subdirectories in /proc/sys/net · line 44

Quoted 12 lines · On Sunday 31 July 2022 12:06:10 Stephen Hemminger wrote:
Documentation/admin-guide/sysctl/net.rst +0 -1
index 805f2281e000..299d9c3407d3 100644
@@ -39,7 +39,6 @@ Table : Subdirectories in /proc/sys/net
  802       E802 protocol         ax25       AX25
  ethernet  Ethernet protocol     rose       X.25 PLP layer
  ipv4      IP version 4          x25        X.25 protocol
- bridge    Bridging              decnet     DEC net
  ipv6      IP version 6          tipc       TIPC
  ========= =================== = ========== ==================
 

Hello! You should remove only decnet from the list, not bridge. This is two columns table.

Acked-by on v1 1/1
#2 lore raw
In reply to Stephen Hemminger
Quoted 11 lines · Stephen Hemminger

Decnet is an obsolete network protocol that receives more attention from kernel janitors than users. It belongs in computer protocol history museum not in Linux kernel.

It has been Orphaned in kernel since 2010.
And the documentation link on Sourceforge says it is abandoned there.

Leave the UAPI alone to keep userspace programs compiling.

---

#3 lore raw
In reply to Stephen Hemminger

From: Stephen Hemminger

Quoted 9 lines

Sent: 31 July 2022 20:06
To: [email protected]

Decnet is an obsolete network protocol that receives more attention from kernel janitors than users. It belongs in computer protocol history museum not in Linux kernel.

It has been Orphaned in kernel since 2010.
And the documentation link on Sourceforge says it is abandoned there.

It was pretty much obsolete when I was writing ethernet drivers in the early 1990's.
Sort of surprising support ever got into Linux in the first place!

Remember it requires the ethernet MAC address be set to a locally assigned value that is the machine's 'node number'.

Does this remove some/most/all of the [gs]et_sockopt() calls where the length is ignored/

David

-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK Registration No: 1397386 (Wales)