Module Name: src
Committed By: maxv
Date: Mon Feb 5 15:18:11 UTC 2018
Modified Files:
src/sys/arch/amiga/conf: DRACO GENERIC GENERIC.in INSTALL
src/sys/arch/amigappc/conf: GENERIC NULL
src/sys/arch/evbppc/conf: EV64260 MPC8536DS MPC8548CDS OPENBLOCKS200
OPENBLOCKS266 OPENBLOCKS600 P2020DS P2020RDB RB800 TWRP1025
VIRTEX_DFC VIRTEX_GSRD1 VIRTEX_GSRD2 WALNUT
src/sys/arch/sparc/conf: GENERIC INSTALL KRUPS MRCOFFEE TADPOLE3GX
src/sys/arch/sparc64/conf: GENERIC NONPLUS64
src/sys/arch/x68k/conf: GENERIC INSTALL
src/sys/netinet: ip_input.c
Log Message:
Nuke DIRECTED_BROADCAST, it is not documented and not enabled anywhere. It
probably wouldn't have built correctly anyway, since there is no associated
defflag.
These ten lines of code in ip_input.c already look a lot better.
To generate a diff of this commit:
cvs rdiff -u -r1.185 -r1.186 src/sys/arch/amiga/conf/DRACO
cvs rdiff -u -r1.319 -r1.320 src/sys/arch/amiga/conf/GENERIC
cvs rdiff -u -r1.137 -r1.138 src/sys/arch/amiga/conf/GENERIC.in
cvs rdiff -u -r1.129 -r1.130 src/sys/arch/amiga/conf/INSTALL
cvs rdiff -u -r1.33 -r1.34 src/sys/arch/amigappc/conf/GENERIC
cvs rdiff -u -r1.53 -r1.54 src/sys/arch/amigappc/conf/NULL
cvs rdiff -u -r1.70 -r1.71 src/sys/arch/evbppc/conf/EV64260
cvs rdiff -u -r1.25 -r1.26 src/sys/arch/evbppc/conf/MPC8536DS
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/evbppc/conf/MPC8548CDS \
src/sys/arch/evbppc/conf/OPENBLOCKS600 src/sys/arch/evbppc/conf/TWRP1025
cvs rdiff -u -r1.45 -r1.46 src/sys/arch/evbppc/conf/OPENBLOCKS200
cvs rdiff -u -r1.72 -r1.73 src/sys/arch/evbppc/conf/OPENBLOCKS266 \
src/sys/arch/evbppc/conf/WALNUT
cvs rdiff -u -r1.28 -r1.29 src/sys/arch/evbppc/conf/P2020DS \
src/sys/arch/evbppc/conf/P2020RDB src/sys/arch/evbppc/conf/VIRTEX_GSRD1
cvs rdiff -u -r1.34 -r1.35 src/sys/arch/evbppc/conf/RB800
cvs rdiff -u -r1.30 -r1.31 src/sys/arch/evbppc/conf/VIRTEX_DFC
cvs rdiff -u -r1.29 -r1.30 src/sys/arch/evbppc/conf/VIRTEX_GSRD2
cvs rdiff -u -r1.258 -r1.259 src/sys/arch/sparc/conf/GENERIC
cvs rdiff -u -r1.98 -r1.99 src/sys/arch/sparc/conf/INSTALL
cvs rdiff -u -r1.75 -r1.76 src/sys/arch/sparc/conf/KRUPS
cvs rdiff -u -r1.54 -r1.55 src/sys/arch/sparc/conf/MRCOFFEE
cvs rdiff -u -r1.73 -r1.74 src/sys/arch/sparc/conf/TADPOLE3GX
cvs rdiff -u -r1.203 -r1.204 src/sys/arch/sparc64/conf/GENERIC
cvs rdiff -u -r1.53 -r1.54 src/sys/arch/sparc64/conf/NONPLUS64
cvs rdiff -u -r1.187 -r1.188 src/sys/arch/x68k/conf/GENERIC
cvs rdiff -u -r1.114 -r1.115 src/sys/arch/x68k/conf/INSTALL
cvs rdiff -u -r1.370 -r1.371 src/sys/netinet/ip_input.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/amiga/conf/DRACO
diff -u src/sys/arch/amiga/conf/DRACO:1.185 src/sys/arch/amiga/conf/DRACO:1.186
--- src/sys/arch/amiga/conf/DRACO:1.185 Tue Jan 23 14:47:53 2018
+++ src/sys/arch/amiga/conf/DRACO Mon Feb 5 15:18:10 2018
@@ -1,4 +1,4 @@
-# $NetBSD: DRACO,v 1.185 2018/01/23 14:47:53 sevan Exp $
+# $NetBSD: DRACO,v 1.186 2018/02/05 15:18:10 maxv Exp $
#
# This file was automatically created.
# Changes will be lost when make is run in this directory.
@@ -29,7 +29,7 @@ include "arch/amiga/conf/std.amiga"
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
-#ident "GENERIC-$Revision: 1.185 $"
+#ident "GENERIC-$Revision: 1.186 $"
makeoptions COPTS="-O2 -fno-reorder-blocks" # see share/mk/sys.mk
@@ -54,7 +54,6 @@ options INET6 # IPV6
#options IPSEC # IP security
#options IPSEC_DEBUG # debug for IP security
#options GATEWAY # Packet forwarding
-#options DIRECTED_BROADCAST # Broadcast across subnets
#options MROUTING # Multicast routing
#options PIM # Protocol Independent Multicast
Index: src/sys/arch/amiga/conf/GENERIC
diff -u src/sys/arch/amiga/conf/GENERIC:1.319 src/sys/arch/amiga/conf/GENERIC:1.320
--- src/sys/arch/amiga/conf/GENERIC:1.319 Tue Jan 23 14:47:53 2018
+++ src/sys/arch/amiga/conf/GENERIC Mon Feb 5 15:18:10 2018
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.319 2018/01/23 14:47:53 sevan Exp $
+# $NetBSD: GENERIC,v 1.320 2018/02/05 15:18:10 maxv Exp $
#
# This file was automatically created.
# Changes will be lost when make is run in this directory.
@@ -29,7 +29,7 @@ include "arch/amiga/conf/std.amiga"
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
-#ident "GENERIC-$Revision: 1.319 $"
+#ident "GENERIC-$Revision: 1.320 $"
makeoptions COPTS="-O2 -fno-reorder-blocks" # see share/mk/sys.mk
@@ -66,7 +66,6 @@ options INET6 # IPV6
#options IPSEC # IP security
#options IPSEC_DEBUG # debug for IP security
#options GATEWAY # Packet forwarding
-#options DIRECTED_BROADCAST # Broadcast across subnets
#options MROUTING # Multicast routing
#options PIM # Protocol Independent Multicast
Index: src/sys/arch/amiga/conf/GENERIC.in
diff -u src/sys/arch/amiga/conf/GENERIC.in:1.137 src/sys/arch/amiga/conf/GENERIC.in:1.138
--- src/sys/arch/amiga/conf/GENERIC.in:1.137 Tue Jan 23 14:47:53 2018
+++ src/sys/arch/amiga/conf/GENERIC.in Mon Feb 5 15:18:10 2018
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC.in,v 1.137 2018/01/23 14:47:53 sevan Exp $
+# $NetBSD: GENERIC.in,v 1.138 2018/02/05 15:18:10 maxv Exp $
#
##
# GENERIC machine description file
@@ -52,7 +52,7 @@ include "arch/amiga/conf/std.amiga"
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
-#ident "GENERIC-$Revision: 1.137 $"
+#ident "GENERIC-$Revision: 1.138 $"
m4_ifdef(`INSTALL_CONFIGURATION', `m4_dnl
makeoptions COPTS="-Os"
@@ -99,7 +99,6 @@ options INET6 # IPV6
#options IPSEC # IP security
#options IPSEC_DEBUG # debug for IP security
#options GATEWAY # Packet forwarding
-#options DIRECTED_BROADCAST # Broadcast across subnets
m4_ifdef(`INSTALL_CONFIGURATION', `', `m4_dnl
#options MROUTING # Multicast routing
Index: src/sys/arch/amiga/conf/INSTALL
diff -u src/sys/arch/amiga/conf/INSTALL:1.129 src/sys/arch/amiga/conf/INSTALL:1.130
--- src/sys/arch/amiga/conf/INSTALL:1.129 Tue Jan 23 14:47:53 2018
+++ src/sys/arch/amiga/conf/INSTALL Mon Feb 5 15:18:10 2018
@@ -1,4 +1,4 @@
-# $NetBSD: INSTALL,v 1.129 2018/01/23 14:47:53 sevan Exp $
+# $NetBSD: INSTALL,v 1.130 2018/02/05 15:18:10 maxv Exp $
#
# This file was automatically created.
# Changes will be lost when make is run in this directory.
@@ -29,7 +29,7 @@ include "arch/amiga/conf/std.amiga"
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
-#ident "GENERIC-$Revision: 1.129 $"
+#ident "GENERIC-$Revision: 1.130 $"
makeoptions COPTS="-Os"
@@ -66,7 +66,6 @@ options INET6 # IPV6
#options IPSEC # IP security
#options IPSEC_DEBUG # debug for IP security
#options GATEWAY # Packet forwarding
-#options DIRECTED_BROADCAST # Broadcast across subnets
options PPP_BSDCOMP # BSD-Compress compression support for PPP
Index: src/sys/arch/amigappc/conf/GENERIC
diff -u src/sys/arch/amigappc/conf/GENERIC:1.33 src/sys/arch/amigappc/conf/GENERIC:1.34
--- src/sys/arch/amigappc/conf/GENERIC:1.33 Tue Jan 23 14:47:53 2018
+++ src/sys/arch/amigappc/conf/GENERIC Mon Feb 5 15:18:10 2018
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.33 2018/01/23 14:47:53 sevan Exp $
+# $NetBSD: GENERIC,v 1.34 2018/02/05 15:18:10 maxv Exp $
#
# GENERIC machine description file
#
@@ -22,7 +22,7 @@ include "arch/amigappc/conf/std.amigappc
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
-#ident "GENERIC-$Revision: 1.33 $"
+#ident "GENERIC-$Revision: 1.34 $"
maxusers 8
@@ -127,7 +127,6 @@ options INET6 # IPV6
#options IPSEC # IP security
#options IPSEC_DEBUG # debug for IP security
#options MROUTING # Multicast routing
-#options DIRECTED_BROADCAST # Broadcast across subnets
#options PIM # Protocol Independent Multicast
#options NETATALK # AppleTalk networking protocols
options PPP_BSDCOMP # BSD-Compress compression support for PPP
Index: src/sys/arch/amigappc/conf/NULL
diff -u src/sys/arch/amigappc/conf/NULL:1.53 src/sys/arch/amigappc/conf/NULL:1.54
--- src/sys/arch/amigappc/conf/NULL:1.53 Tue Jan 23 14:47:53 2018
+++ src/sys/arch/amigappc/conf/NULL Mon Feb 5 15:18:10 2018
@@ -1,4 +1,4 @@
-# $NetBSD: NULL,v 1.53 2018/01/23 14:47:53 sevan Exp $
+# $NetBSD: NULL,v 1.54 2018/02/05 15:18:10 maxv Exp $
#
# NULL machine description file
#
@@ -7,7 +7,7 @@ include "arch/amigappc/conf/std.amigappc
#options INCLUDE_CONFIG_FILE # embed config file in kernel binary
-#ident "GENERIC-$Revision: 1.53 $"
+#ident "GENERIC-$Revision: 1.54 $"
maxusers 8
@@ -110,7 +110,6 @@ options INET6 # IPV6
#options IPSEC # IP security
#options IPSEC_DEBUG # debug for IP security
#options GATEWAY # Packet forwarding
-#options DIRECTED_BROADCAST # Broadcast across subnets
#options MROUTING # Multicast routing
#options PIM # Protocol Independent Multicast
Index: src/sys/arch/evbppc/conf/EV64260
diff -u src/sys/arch/evbppc/conf/EV64260:1.70 src/sys/arch/evbppc/conf/EV64260:1.71
--- src/sys/arch/evbppc/conf/EV64260:1.70 Fri Sep 15 03:07:55 2017
+++ src/sys/arch/evbppc/conf/EV64260 Mon Feb 5 15:18:10 2018
@@ -1,4 +1,4 @@
-# $NetBSD: EV64260,v 1.70 2017/09/15 03:07:55 christos Exp $
+# $NetBSD: EV64260,v 1.71 2018/02/05 15:18:10 maxv Exp $
#
# MVP -- Motorola's Multiprocessing Verification Platform
#
@@ -104,7 +104,6 @@ options INET # IP + ICMP + TCP + UDP
#options IPSEC_DEBUG # debug for IP security
#options MROUTING # IP multicast routing
#options PIM # Protocol Independent Multicast
-#options DIRECTED_BROADCAST # allow broadcasts through routers
#options NETATALK # AppleTalk networking protocols
#options PPP_BSDCOMP # BSD-Compress compression support for PPP
#options PPP_DEFLATE # Deflate compression support for PPP
Index: src/sys/arch/evbppc/conf/MPC8536DS
diff -u src/sys/arch/evbppc/conf/MPC8536DS:1.25 src/sys/arch/evbppc/conf/MPC8536DS:1.26
--- src/sys/arch/evbppc/conf/MPC8536DS:1.25 Thu Sep 14 07:58:40 2017
+++ src/sys/arch/evbppc/conf/MPC8536DS Mon Feb 5 15:18:10 2018
@@ -1,4 +1,4 @@
-# $NetBSD: MPC8536DS,v 1.25 2017/09/14 07:58:40 mrg Exp $
+# $NetBSD: MPC8536DS,v 1.26 2018/02/05 15:18:10 maxv Exp $
#
# MPC8536DS -- everything that's currently supported
#
@@ -7,7 +7,7 @@ include "arch/evbppc/conf/std.mpc85xx"
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
-ident "MPC8536DS-$Revision: 1.25 $"
+ident "MPC8536DS-$Revision: 1.26 $"
maxusers 32
@@ -95,7 +95,6 @@ options UDP_CSUM_COUNTERS
#options IPSEC_DEBUG # debug for IP security
#options MROUTING # IP multicast routing
#options PIM # Protocol Independent Multicast
-#options DIRECTED_BROADCAST # allow broadcasts through routers
#options NETATALK # AppleTalk networking protocols
#options PPP_BSDCOMP # BSD-Compress compression support for PPP
#options PPP_DEFLATE # Deflate compression support for PPP
Index: src/sys/arch/evbppc/conf/MPC8548CDS
diff -u src/sys/arch/evbppc/conf/MPC8548CDS:1.24 src/sys/arch/evbppc/conf/MPC8548CDS:1.25
--- src/sys/arch/evbppc/conf/MPC8548CDS:1.24 Thu Sep 14 07:58:40 2017
+++ src/sys/arch/evbppc/conf/MPC8548CDS Mon Feb 5 15:18:10 2018
@@ -1,4 +1,4 @@
-# $NetBSD: MPC8548CDS,v 1.24 2017/09/14 07:58:40 mrg Exp $
+# $NetBSD: MPC8548CDS,v 1.25 2018/02/05 15:18:10 maxv Exp $
#
# MPC8548CDS -- everything that's currently supported
#
@@ -7,7 +7,7 @@ include "arch/evbppc/conf/std.mpc85xx"
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
-ident "MPC8548CDS-$Revision: 1.24 $"
+ident "MPC8548CDS-$Revision: 1.25 $"
maxusers 32
@@ -97,7 +97,6 @@ options UDP_CSUM_COUNTERS
#options IPSEC_DEBUG # debug for IP security
#options MROUTING # IP multicast routing
#options PIM # Protocol Independent Multicast
-#options DIRECTED_BROADCAST # allow broadcasts through routers
#options NETATALK # AppleTalk networking protocols
#options PPP_BSDCOMP # BSD-Compress compression support for PPP
#options PPP_DEFLATE # Deflate compression support for PPP
Index: src/sys/arch/evbppc/conf/OPENBLOCKS600
diff -u src/sys/arch/evbppc/conf/OPENBLOCKS600:1.24 src/sys/arch/evbppc/conf/OPENBLOCKS600:1.25
--- src/sys/arch/evbppc/conf/OPENBLOCKS600:1.24 Thu Sep 14 07:58:40 2017
+++ src/sys/arch/evbppc/conf/OPENBLOCKS600 Mon Feb 5 15:18:10 2018
@@ -1,4 +1,4 @@
-# $NetBSD: OPENBLOCKS600,v 1.24 2017/09/14 07:58:40 mrg Exp $
+# $NetBSD: OPENBLOCKS600,v 1.25 2018/02/05 15:18:10 maxv Exp $
#
# GENERIC -- everything that's currently supported
#
@@ -7,7 +7,7 @@ include "arch/evbppc/conf/std.obs600"
#options INCLUDE_CONFIG_FILE # embed config file in kernel binary
-#ident "OPENBLOCKS600-$Revision: 1.24 $"
+#ident "OPENBLOCKS600-$Revision: 1.25 $"
maxusers 32
@@ -105,7 +105,6 @@ options INET6 # IPv6
#options IPSEC_DEBUG # debug for IP security
#options MROUTING # IP multicast routing
#options PIM # Protocol Independent Multicast
-#options DIRECTED_BROADCAST # allow broadcasts through routers
#options NETATALK # AppleTalk networking protocols
options PPP_BSDCOMP # BSD-Compress compression support for PPP
options PPP_DEFLATE # Deflate compression support for PPP
Index: src/sys/arch/evbppc/conf/TWRP1025
diff -u src/sys/arch/evbppc/conf/TWRP1025:1.24 src/sys/arch/evbppc/conf/TWRP1025:1.25
--- src/sys/arch/evbppc/conf/TWRP1025:1.24 Thu Sep 14 07:58:40 2017
+++ src/sys/arch/evbppc/conf/TWRP1025 Mon Feb 5 15:18:10 2018
@@ -1,4 +1,4 @@
-# $NetBSD: TWRP1025,v 1.24 2017/09/14 07:58:40 mrg Exp $
+# $NetBSD: TWRP1025,v 1.25 2018/02/05 15:18:10 maxv Exp $
#
# TWRP1025 -- everything that's currently supported
#
@@ -7,7 +7,7 @@ include "arch/evbppc/conf/std.mpc85xx"
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
-ident "TWRP1025-$Revision: 1.24 $"
+ident "TWRP1025-$Revision: 1.25 $"
maxusers 32
@@ -97,7 +97,6 @@ options INET6 # IPV6
#options IPSEC_DEBUG # debug for IP security
#options MROUTING # IP multicast routing
#options PIM # Protocol Independent Multicast
-#options DIRECTED_BROADCAST # allow broadcasts through routers
#options NETATALK # AppleTalk networking protocols
#options PPP_BSDCOMP # BSD-Compress compression support for PPP
#options PPP_DEFLATE # Deflate compression support for PPP
Index: src/sys/arch/evbppc/conf/OPENBLOCKS200
diff -u src/sys/arch/evbppc/conf/OPENBLOCKS200:1.45 src/sys/arch/evbppc/conf/OPENBLOCKS200:1.46
--- src/sys/arch/evbppc/conf/OPENBLOCKS200:1.45 Thu Sep 14 07:58:40 2017
+++ src/sys/arch/evbppc/conf/OPENBLOCKS200 Mon Feb 5 15:18:10 2018
@@ -1,4 +1,4 @@
-# $NetBSD: OPENBLOCKS200,v 1.45 2017/09/14 07:58:40 mrg Exp $
+# $NetBSD: OPENBLOCKS200,v 1.46 2018/02/05 15:18:10 maxv Exp $
#
# GENERIC -- everything that's currently supported
#
@@ -85,7 +85,6 @@ options INET6 # IPV6
#options IPSEC_DEBUG # debug for IP security
#options MROUTING # IP multicast routing
#options PIM # Protocol Independent Multicast
-#options DIRECTED_BROADCAST # allow broadcasts through routers
#options NETATALK # AppleTalk networking protocols
options PPP_BSDCOMP # BSD-Compress compression support for PPP
options PPP_DEFLATE # Deflate compression support for PPP
Index: src/sys/arch/evbppc/conf/OPENBLOCKS266
diff -u src/sys/arch/evbppc/conf/OPENBLOCKS266:1.72 src/sys/arch/evbppc/conf/OPENBLOCKS266:1.73
--- src/sys/arch/evbppc/conf/OPENBLOCKS266:1.72 Thu Sep 14 07:58:40 2017
+++ src/sys/arch/evbppc/conf/OPENBLOCKS266 Mon Feb 5 15:18:10 2018
@@ -1,4 +1,4 @@
-# $NetBSD: OPENBLOCKS266,v 1.72 2017/09/14 07:58:40 mrg Exp $
+# $NetBSD: OPENBLOCKS266,v 1.73 2018/02/05 15:18:10 maxv Exp $
#
# GENERIC -- everything that's currently supported
#
@@ -7,7 +7,7 @@ include "arch/evbppc/conf/std.obs266"
#options INCLUDE_CONFIG_FILE # embed config file in kernel binary
-#ident "OPENBLOCKS266-$Revision: 1.72 $"
+#ident "OPENBLOCKS266-$Revision: 1.73 $"
maxusers 32
@@ -103,7 +103,6 @@ options INET6 # IPv6
#options IPSEC_DEBUG # debug for IP security
#options MROUTING # IP multicast routing
#options PIM # Protocol Independent Multicast
-#options DIRECTED_BROADCAST # allow broadcasts through routers
#options NETATALK # AppleTalk networking protocols
options PPP_BSDCOMP # BSD-Compress compression support for PPP
options PPP_DEFLATE # Deflate compression support for PPP
Index: src/sys/arch/evbppc/conf/WALNUT
diff -u src/sys/arch/evbppc/conf/WALNUT:1.72 src/sys/arch/evbppc/conf/WALNUT:1.73
--- src/sys/arch/evbppc/conf/WALNUT:1.72 Thu Sep 14 07:58:40 2017
+++ src/sys/arch/evbppc/conf/WALNUT Mon Feb 5 15:18:10 2018
@@ -1,4 +1,4 @@
-# $NetBSD: WALNUT,v 1.72 2017/09/14 07:58:40 mrg Exp $
+# $NetBSD: WALNUT,v 1.73 2018/02/05 15:18:10 maxv Exp $
#
# GENERIC -- everything that's currently supported
#
@@ -86,7 +86,6 @@ options INET6 # IPV6
#options IPSEC_DEBUG # debug for IP security
#options MROUTING # IP multicast routing
#options PIM # Protocol Independent Multicast
-#options DIRECTED_BROADCAST # allow broadcasts through routers
#options NETATALK # AppleTalk networking protocols
options PPP_BSDCOMP # BSD-Compress compression support for PPP
options PPP_DEFLATE # Deflate compression support for PPP
Index: src/sys/arch/evbppc/conf/P2020DS
diff -u src/sys/arch/evbppc/conf/P2020DS:1.28 src/sys/arch/evbppc/conf/P2020DS:1.29
--- src/sys/arch/evbppc/conf/P2020DS:1.28 Thu Sep 14 07:58:40 2017
+++ src/sys/arch/evbppc/conf/P2020DS Mon Feb 5 15:18:10 2018
@@ -1,4 +1,4 @@
-# $NetBSD: P2020DS,v 1.28 2017/09/14 07:58:40 mrg Exp $
+# $NetBSD: P2020DS,v 1.29 2018/02/05 15:18:10 maxv Exp $
#
# P2020DS -- everything that's currently supported
#
@@ -8,7 +8,7 @@ include "arch/evbppc/conf/std.mpc85xx"
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
-ident "P2020DS-$Revision: 1.28 $"
+ident "P2020DS-$Revision: 1.29 $"
maxusers 32
@@ -103,7 +103,6 @@ options INET6 # IPV6
#options IPSEC_DEBUG # debug for IP security
#options MROUTING # IP multicast routing
#options PIM # Protocol Independent Multicast
-#options DIRECTED_BROADCAST # allow broadcasts through routers
#options NETATALK # AppleTalk networking protocols
#options PPP_BSDCOMP # BSD-Compress compression support for PPP
#options PPP_DEFLATE # Deflate compression support for PPP
Index: src/sys/arch/evbppc/conf/P2020RDB
diff -u src/sys/arch/evbppc/conf/P2020RDB:1.28 src/sys/arch/evbppc/conf/P2020RDB:1.29
--- src/sys/arch/evbppc/conf/P2020RDB:1.28 Thu Sep 14 07:58:40 2017
+++ src/sys/arch/evbppc/conf/P2020RDB Mon Feb 5 15:18:10 2018
@@ -1,4 +1,4 @@
-# $NetBSD: P2020RDB,v 1.28 2017/09/14 07:58:40 mrg Exp $
+# $NetBSD: P2020RDB,v 1.29 2018/02/05 15:18:10 maxv Exp $
#
# P2020RBD -- everything that's currently supported
#
@@ -7,7 +7,7 @@ include "arch/evbppc/conf/std.mpc85xx"
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
-ident "P2020RBD-$Revision: 1.28 $"
+ident "P2020RBD-$Revision: 1.29 $"
maxusers 32
@@ -98,7 +98,6 @@ options UDP_CSUM_COUNTERS
#options IPSEC_DEBUG # debug for IP security
#options MROUTING # IP multicast routing
#options PIM # Protocol Independent Multicast
-#options DIRECTED_BROADCAST # allow broadcasts through routers
#options NETATALK # AppleTalk networking protocols
#options PPP_BSDCOMP # BSD-Compress compression support for PPP
#options PPP_DEFLATE # Deflate compression support for PPP
Index: src/sys/arch/evbppc/conf/VIRTEX_GSRD1
diff -u src/sys/arch/evbppc/conf/VIRTEX_GSRD1:1.28 src/sys/arch/evbppc/conf/VIRTEX_GSRD1:1.29
--- src/sys/arch/evbppc/conf/VIRTEX_GSRD1:1.28 Thu Sep 14 07:58:40 2017
+++ src/sys/arch/evbppc/conf/VIRTEX_GSRD1 Mon Feb 5 15:18:10 2018
@@ -1,4 +1,4 @@
-# $NetBSD: VIRTEX_GSRD1,v 1.28 2017/09/14 07:58:40 mrg Exp $
+# $NetBSD: VIRTEX_GSRD1,v 1.29 2018/02/05 15:18:10 maxv Exp $
#
# VIRTEX_GSRD1
#
@@ -93,7 +93,6 @@ options INET6 # IPV6
#options IPSEC_DEBUG # debug for IP security
#options MROUTING # IP multicast routing
#options PIM # Protocol Independent Multicast
-#options DIRECTED_BROADCAST # allow broadcasts through routers
#options NETATALK # AppleTalk networking protocols
options PPP_BSDCOMP # BSD-Compress compression support for PPP
options PPP_DEFLATE # Deflate compression support for PPP
Index: src/sys/arch/evbppc/conf/RB800
diff -u src/sys/arch/evbppc/conf/RB800:1.34 src/sys/arch/evbppc/conf/RB800:1.35
--- src/sys/arch/evbppc/conf/RB800:1.34 Thu Sep 14 07:58:40 2017
+++ src/sys/arch/evbppc/conf/RB800 Mon Feb 5 15:18:10 2018
@@ -1,4 +1,4 @@
-# $NetBSD: RB800,v 1.34 2017/09/14 07:58:40 mrg Exp $
+# $NetBSD: RB800,v 1.35 2018/02/05 15:18:10 maxv Exp $
#
# RB800 -- everything that's currently supported
#
@@ -7,7 +7,7 @@ include "arch/evbppc/conf/std.mpc85xx"
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
-ident "RB800-$Revision: 1.34 $"
+ident "RB800-$Revision: 1.35 $"
maxusers 32
@@ -101,7 +101,6 @@ options UDP_CSUM_COUNTERS
#options IPSEC_DEBUG # debug for IP security
#options MROUTING # IP multicast routing
#options PIM # Protocol Independent Multicast
-#options DIRECTED_BROADCAST # allow broadcasts through routers
#options NETATALK # AppleTalk networking protocols
#options PPP_BSDCOMP # BSD-Compress compression support for PPP
#options PPP_DEFLATE # Deflate compression support for PPP
Index: src/sys/arch/evbppc/conf/VIRTEX_DFC
diff -u src/sys/arch/evbppc/conf/VIRTEX_DFC:1.30 src/sys/arch/evbppc/conf/VIRTEX_DFC:1.31
--- src/sys/arch/evbppc/conf/VIRTEX_DFC:1.30 Thu Sep 14 07:58:40 2017
+++ src/sys/arch/evbppc/conf/VIRTEX_DFC Mon Feb 5 15:18:10 2018
@@ -1,4 +1,4 @@
-# $NetBSD: VIRTEX_DFC,v 1.30 2017/09/14 07:58:40 mrg Exp $
+# $NetBSD: VIRTEX_DFC,v 1.31 2018/02/05 15:18:10 maxv Exp $
#
# VIRTEX_DFC
#
@@ -99,7 +99,6 @@ options INET6 # IPV6
#options IPSEC_DEBUG # debug for IP security
#options MROUTING # IP multicast routing
#options PIM # Protocol Independent Multicast
-#options DIRECTED_BROADCAST # allow broadcasts through routers
#options NETATALK # AppleTalk networking protocols
options PPP_BSDCOMP # BSD-Compress compression support for PPP
options PPP_DEFLATE # Deflate compression support for PPP
Index: src/sys/arch/evbppc/conf/VIRTEX_GSRD2
diff -u src/sys/arch/evbppc/conf/VIRTEX_GSRD2:1.29 src/sys/arch/evbppc/conf/VIRTEX_GSRD2:1.30
--- src/sys/arch/evbppc/conf/VIRTEX_GSRD2:1.29 Thu Sep 14 07:58:40 2017
+++ src/sys/arch/evbppc/conf/VIRTEX_GSRD2 Mon Feb 5 15:18:10 2018
@@ -1,4 +1,4 @@
-# $NetBSD: VIRTEX_GSRD2,v 1.29 2017/09/14 07:58:40 mrg Exp $
+# $NetBSD: VIRTEX_GSRD2,v 1.30 2018/02/05 15:18:10 maxv Exp $
#
# VIRTEX_GSRD2
#
@@ -101,7 +101,6 @@ options INET6 # IPV6
#options IPSEC_DEBUG # debug for IP security
#options MROUTING # IP multicast routing
#options PIM # Protocol Independent Multicast
-#options DIRECTED_BROADCAST # allow broadcasts through routers
#options NETATALK # AppleTalk networking protocols
options PPP_BSDCOMP # BSD-Compress compression support for PPP
options PPP_DEFLATE # Deflate compression support for PPP
Index: src/sys/arch/sparc/conf/GENERIC
diff -u src/sys/arch/sparc/conf/GENERIC:1.258 src/sys/arch/sparc/conf/GENERIC:1.259
--- src/sys/arch/sparc/conf/GENERIC:1.258 Tue Jan 23 14:47:56 2018
+++ src/sys/arch/sparc/conf/GENERIC Mon Feb 5 15:18:11 2018
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.258 2018/01/23 14:47:56 sevan Exp $
+# $NetBSD: GENERIC,v 1.259 2018/02/05 15:18:11 maxv Exp $
#
# GENERIC machine description file
#
@@ -22,7 +22,7 @@ include "arch/sparc/conf/std.sparc"
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
-#ident "GENERIC-$Revision: 1.258 $"
+#ident "GENERIC-$Revision: 1.259 $"
maxusers 32
@@ -198,7 +198,6 @@ options INET6 # IPV6
#options GATEWAY # packet forwarding ("router switch")
#options MROUTING # packet forwarding of multicast packets
#options PIM # Protocol Independent Multicast
-#options DIRECTED_BROADCAST # allow broadcasts through routers
#options NETATALK # AppleTalk (over Ethernet) protocol
options NTP # Network Time Protocol in-kernel support
#options PPS_SYNC # Add serial line synchronization for NTP
Index: src/sys/arch/sparc/conf/INSTALL
diff -u src/sys/arch/sparc/conf/INSTALL:1.98 src/sys/arch/sparc/conf/INSTALL:1.99
--- src/sys/arch/sparc/conf/INSTALL:1.98 Thu Sep 14 07:58:43 2017
+++ src/sys/arch/sparc/conf/INSTALL Mon Feb 5 15:18:11 2018
@@ -1,4 +1,4 @@
-# $NetBSD: INSTALL,v 1.98 2017/09/14 07:58:43 mrg Exp $
+# $NetBSD: INSTALL,v 1.99 2018/02/05 15:18:11 maxv Exp $
#
# from: NetBSD: GENERIC,v 1.84 1999/06/06 13:00:03 mrg Exp
#
@@ -171,7 +171,6 @@ options INET # IP (Internet Protocol)
#options GATEWAY # packet forwarding ("router switch")
#options MROUTING # packet forwarding of multicast packets
#options PIM # Protocol Independent Multicast
-#options DIRECTED_BROADCAST # allow broadcasts through routers
#options NETATALK # AppleTalk (over Ethernet) protocol
#options NTP # Network Time Protocol in-kernel support
#options PPS_SYNC # Add serial line synchronization for NTP
Index: src/sys/arch/sparc/conf/KRUPS
diff -u src/sys/arch/sparc/conf/KRUPS:1.75 src/sys/arch/sparc/conf/KRUPS:1.76
--- src/sys/arch/sparc/conf/KRUPS:1.75 Thu Sep 14 07:58:43 2017
+++ src/sys/arch/sparc/conf/KRUPS Mon Feb 5 15:18:11 2018
@@ -1,4 +1,4 @@
-# $NetBSD: KRUPS,v 1.75 2017/09/14 07:58:43 mrg Exp $
+# $NetBSD: KRUPS,v 1.76 2018/02/05 15:18:11 maxv Exp $
# From: NetBSD: GENERIC,v 1.197 2006/12/04 23:43:35 elad Exp
#
# Krups (JavaStation-NC) machine description file
@@ -8,7 +8,7 @@ include "arch/sparc/conf/std.sparc"
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
-#ident "KRUPS-$Revision: 1.75 $"
+#ident "KRUPS-$Revision: 1.76 $"
maxusers 32
@@ -203,7 +203,6 @@ options INET6 # IPV6
#options GATEWAY # packet forwarding ("router switch")
#options MROUTING # packet forwarding of multicast packets
#options PIM # Protocol Independent Multicast
-#options DIRECTED_BROADCAST # allow broadcasts through routers
#options NETATALK # AppleTalk (over Ethernet) protocol
options NTP # Network Time Protocol in-kernel support
#options PPS_SYNC # Add serial line synchronization for NTP
Index: src/sys/arch/sparc/conf/MRCOFFEE
diff -u src/sys/arch/sparc/conf/MRCOFFEE:1.54 src/sys/arch/sparc/conf/MRCOFFEE:1.55
--- src/sys/arch/sparc/conf/MRCOFFEE:1.54 Tue Jan 23 14:47:56 2018
+++ src/sys/arch/sparc/conf/MRCOFFEE Mon Feb 5 15:18:11 2018
@@ -1,4 +1,4 @@
-# $NetBSD: MRCOFFEE,v 1.54 2018/01/23 14:47:56 sevan Exp $
+# $NetBSD: MRCOFFEE,v 1.55 2018/02/05 15:18:11 maxv Exp $
# From: NetBSD: GENERIC,v 1.197 2006/12/04 23:43:35 elad Exp
#
# Mr.Coffee (JavaStation 1) machine description file
@@ -12,7 +12,7 @@ include "arch/sparc/conf/std.sparc"
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
-#ident "MRCOFFEE-$Revision: 1.54 $"
+#ident "MRCOFFEE-$Revision: 1.55 $"
maxusers 32
@@ -185,7 +185,6 @@ options INET6 # IPV6
#options GATEWAY # packet forwarding ("router switch")
#options MROUTING # packet forwarding of multicast packets
#options PIM # Protocol Independent Multicast
-#options DIRECTED_BROADCAST # allow broadcasts through routers
#options NETATALK # AppleTalk (over Ethernet) protocol
options NTP # Network Time Protocol in-kernel support
#options PPS_SYNC # Add serial line synchronization for NTP
Index: src/sys/arch/sparc/conf/TADPOLE3GX
diff -u src/sys/arch/sparc/conf/TADPOLE3GX:1.73 src/sys/arch/sparc/conf/TADPOLE3GX:1.74
--- src/sys/arch/sparc/conf/TADPOLE3GX:1.73 Thu Sep 14 07:58:43 2017
+++ src/sys/arch/sparc/conf/TADPOLE3GX Mon Feb 5 15:18:11 2018
@@ -1,4 +1,4 @@
-# $NetBSD: TADPOLE3GX,v 1.73 2017/09/14 07:58:43 mrg Exp $
+# $NetBSD: TADPOLE3GX,v 1.74 2018/02/05 15:18:11 maxv Exp $
include "arch/sparc/conf/std.sparc"
@@ -159,7 +159,6 @@ options INET # IP (Internet Protocol)
#options GATEWAY # packet forwarding ("router switch")
#options MROUTING # packet forwarding of multicast packets
#options PIM # Protocol Independent Multicast
-#options DIRECTED_BROADCAST # allow broadcasts through routers
#options NETATALK # AppleTalk (over Ethernet) protocol
options NTP # Network Time Protocol in-kernel support
#options PPS_SYNC # Add serial line synchronization for NTP
Index: src/sys/arch/sparc64/conf/GENERIC
diff -u src/sys/arch/sparc64/conf/GENERIC:1.203 src/sys/arch/sparc64/conf/GENERIC:1.204
--- src/sys/arch/sparc64/conf/GENERIC:1.203 Tue Jan 23 14:47:56 2018
+++ src/sys/arch/sparc64/conf/GENERIC Mon Feb 5 15:18:11 2018
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.203 2018/01/23 14:47:56 sevan Exp $
+# $NetBSD: GENERIC,v 1.204 2018/02/05 15:18:11 maxv Exp $
#
# GENERIC machine description file
#
@@ -22,7 +22,7 @@ include "arch/sparc64/conf/std.sparc64"
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
-#ident "GENERIC-$Revision: 1.203 $"
+#ident "GENERIC-$Revision: 1.204 $"
maxusers 64
@@ -178,7 +178,6 @@ options INET6 # IPV6
#options GATEWAY # packet forwarding ("router switch")
options MROUTING # packet forwarding of multicast packets
options PIM # Protocol Independent Multicast
-#options DIRECTED_BROADCAST # allow broadcasts through routers
options NETATALK # AppleTalk (over Ethernet) protocol
options NTP # Network Time Protocol in-kernel support
#options PPS_SYNC # Add serial line synchronization for NTP
Index: src/sys/arch/sparc64/conf/NONPLUS64
diff -u src/sys/arch/sparc64/conf/NONPLUS64:1.53 src/sys/arch/sparc64/conf/NONPLUS64:1.54
--- src/sys/arch/sparc64/conf/NONPLUS64:1.53 Thu Sep 14 07:58:43 2017
+++ src/sys/arch/sparc64/conf/NONPLUS64 Mon Feb 5 15:18:11 2018
@@ -1,8 +1,8 @@
-# $NetBSD: NONPLUS64,v 1.53 2017/09/14 07:58:43 mrg Exp $
+# $NetBSD: NONPLUS64,v 1.54 2018/02/05 15:18:11 maxv Exp $
include "arch/sparc64/conf/std.sparc64"
-#ident "NONPLUS64-$Revision: 1.53 $"
+#ident "NONPLUS64-$Revision: 1.54 $"
#options INCLUDE_CONFIG_FILE # embed config file in kernel binary
@@ -145,7 +145,6 @@ options INET6 # IPV6
options GATEWAY # packet forwarding ("router switch")
#options MROUTING # packet forwarding of multicast packets
#options PIM # Protocol Independent Multicast
-#options DIRECTED_BROADCAST # allow broadcasts through routers
options NETATALK # AppleTalk (over Ethernet) protocol
options NTP # Network Time Protocol in-kernel support
#options PPS_SYNC # Add serial line synchronization for NTP
Index: src/sys/arch/x68k/conf/GENERIC
diff -u src/sys/arch/x68k/conf/GENERIC:1.187 src/sys/arch/x68k/conf/GENERIC:1.188
--- src/sys/arch/x68k/conf/GENERIC:1.187 Tue Jan 23 14:47:56 2018
+++ src/sys/arch/x68k/conf/GENERIC Mon Feb 5 15:18:11 2018
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.187 2018/01/23 14:47:56 sevan Exp $
+# $NetBSD: GENERIC,v 1.188 2018/02/05 15:18:11 maxv Exp $
#
# GENERIC machine description file
#
@@ -22,7 +22,7 @@ include "arch/x68k/conf/std.x68k"
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
-#ident "GENERIC-$Revision: 1.187 $"
+#ident "GENERIC-$Revision: 1.188 $"
makeoptions COPTS="-O2 -fno-reorder-blocks" # see share/mk/sys.mk
@@ -190,7 +190,6 @@ options INET6 # IPV6
#options GATEWAY # packet forwarding ("router switch")
#options MROUTING # packet forwarding of multicast packets
#options PIM # Protocol Independent Multicast
-#options DIRECTED_BROADCAST # allow broadcasts through routers
#options NETATALK # AppleTalk (over Ethernet) protocol
#options NTP # Network Time Protocol in-kernel support
#options PPS_SYNC # Add serial line synchronization for NTP
Index: src/sys/arch/x68k/conf/INSTALL
diff -u src/sys/arch/x68k/conf/INSTALL:1.114 src/sys/arch/x68k/conf/INSTALL:1.115
--- src/sys/arch/x68k/conf/INSTALL:1.114 Thu Sep 14 07:58:44 2017
+++ src/sys/arch/x68k/conf/INSTALL Mon Feb 5 15:18:11 2018
@@ -1,4 +1,4 @@
-# $NetBSD: INSTALL,v 1.114 2017/09/14 07:58:44 mrg Exp $
+# $NetBSD: INSTALL,v 1.115 2018/02/05 15:18:11 maxv Exp $
#
# INSTALL -- installation kernel.
@@ -8,7 +8,7 @@ include "arch/x68k/conf/std.x68k"
#options INCLUDE_CONFIG_FILE # embed config file in kernel binary
-#ident "INSTALL-$Revision: 1.114 $"
+#ident "INSTALL-$Revision: 1.115 $"
makeoptions COPTS="-Os" # Optimise for space. Implies -O2
@@ -171,7 +171,6 @@ options INET6 # IPV6
#options GATEWAY # packet forwarding ("router switch")
#options MROUTING # packet forwarding of multicast packets
#options PIM # Protocol Independent Multicast
-#options DIRECTED_BROADCAST # allow broadcasts through routers
#options NETATALK # AppleTalk (over Ethernet) protocol
#options NTP # Network Time Protocol in-kernel support
#options PPS_SYNC # Add serial line synchronization for NTP
Index: src/sys/netinet/ip_input.c
diff -u src/sys/netinet/ip_input.c:1.370 src/sys/netinet/ip_input.c:1.371
--- src/sys/netinet/ip_input.c:1.370 Mon Feb 5 14:52:42 2018
+++ src/sys/netinet/ip_input.c Mon Feb 5 15:18:10 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: ip_input.c,v 1.370 2018/02/05 14:52:42 maxv Exp $ */
+/* $NetBSD: ip_input.c,v 1.371 2018/02/05 15:18:10 maxv Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -91,7 +91,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip_input.c,v 1.370 2018/02/05 14:52:42 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip_input.c,v 1.371 2018/02/05 15:18:10 maxv Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -166,17 +166,11 @@ __KERNEL_RCSID(0, "$NetBSD: ip_input.c,v
#define IPMTUDISCTIMEOUT (10 * 60) /* as per RFC 1191 */
#endif
-#ifdef DIRECTED_BROADCAST
-#define IPDIRECTEDBCAST 1
-#else
-#define IPDIRECTEDBCAST 0
-#endif
-
int ipforwarding = IPFORWARDING;
int ipsendredirects = IPSENDREDIRECTS;
int ip_defttl = IPDEFTTL;
int ip_forwsrcrt = 0;
-int ip_directedbcast = IPDIRECTEDBCAST;
+int ip_directedbcast = 0;
int ip_allowsrcrt = 0;
int ip_mtudisc = 1;
int ip_mtudisc_timeout = IPMTUDISCTIMEOUT;