[NETROM]: Implement G8PZT Circuit reset for NET/ROM
NET/ROM is lacking a connection reset like TCP's RST flag which at times may result in a connecting having to slowly timing out instead of just being reset. An earlier attempt to reset the connection by sending a NR_CONNACK | NR_CHOKE_FLAG transport was inacceptable as it did result in crashes of BPQ systems. An alternative approach of introducing a new transport type 7 (NR_RESET) has be implemented several years ago in Paula Jayne Dowie G8PZT's Xrouter. Implement NR_RESET for Linux's NET/ROM but like any messing with the state engine consider this experimental for now and thus control it by a sysctl (net.netrom.reset) which for the time being defaults to off. Signed-off-by:Ralf Baechle DL5RB <ralf@linux-mips.org> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- include/linux/sysctl.h 2 additions, 1 deletioninclude/linux/sysctl.h
- include/net/netrom.h 26 additions, 1 deletioninclude/net/netrom.h
- net/netrom/af_netrom.c 11 additions, 10 deletionsnet/netrom/af_netrom.c
- net/netrom/nr_in.c 15 additions, 0 deletionsnet/netrom/nr_in.c
- net/netrom/nr_subr.c 3 additions, 4 deletionsnet/netrom/nr_subr.c
- net/netrom/sysctl_net_netrom.c 12 additions, 0 deletionsnet/netrom/sysctl_net_netrom.c
Loading
Please register or sign in to comment