head 1.1; access; symbols netbsd-11-0-RC5:1.1 netbsd-11-0-RC4:1.1 netbsd-11-0-RC3:1.1 netbsd-11-0-RC2:1.1 netbsd-11-0-RC1:1.1 perseant-exfatfs-base-20250801:1.1 netbsd-11:1.1.0.44 netbsd-11-base:1.1 netbsd-10-1-RELEASE:1.1 perseant-exfatfs-base-20240630:1.1 perseant-exfatfs:1.1.0.42 perseant-exfatfs-base:1.1 netbsd-8-3-RELEASE:1.1.2.2 netbsd-9-4-RELEASE:1.1 netbsd-10-0-RELEASE:1.1 netbsd-10-0-RC6:1.1 netbsd-10-0-RC5:1.1 netbsd-10-0-RC4:1.1 netbsd-10-0-RC3:1.1 netbsd-10-0-RC2:1.1 thorpej-ifq:1.1.0.40 thorpej-ifq-base:1.1 thorpej-altq-separation:1.1.0.38 thorpej-altq-separation-base:1.1 netbsd-10-0-RC1:1.1 netbsd-10:1.1.0.36 netbsd-10-base:1.1 bouyer-sunxi-drm:1.1.0.34 bouyer-sunxi-drm-base:1.1 netbsd-9-3-RELEASE:1.1 thorpej-i2c-spi-conf2:1.1.0.32 thorpej-i2c-spi-conf2-base:1.1 thorpej-futex2:1.1.0.30 thorpej-futex2-base:1.1 thorpej-cfargs2:1.1.0.28 thorpej-cfargs2-base:1.1 cjep_sun2x-base1:1.1 cjep_sun2x:1.1.0.26 cjep_sun2x-base:1.1 cjep_staticlib_x-base1:1.1 netbsd-9-2-RELEASE:1.1 cjep_staticlib_x:1.1.0.24 cjep_staticlib_x-base:1.1 thorpej-i2c-spi-conf:1.1.0.22 thorpej-i2c-spi-conf-base:1.1 thorpej-cfargs:1.1.0.20 thorpej-cfargs-base:1.1 thorpej-futex:1.1.0.18 thorpej-futex-base:1.1 netbsd-9-1-RELEASE:1.1 bouyer-xenpvh-base2:1.1 phil-wifi-20200421:1.1 bouyer-xenpvh-base1:1.1 phil-wifi-20200411:1.1 bouyer-xenpvh:1.1.0.16 bouyer-xenpvh-base:1.1 is-mlppp:1.1.0.14 is-mlppp-base:1.1 phil-wifi-20200406:1.1 netbsd-8-2-RELEASE:1.1.2.2 ad-namecache-base3:1.1 netbsd-9-0-RELEASE:1.1 netbsd-9-0-RC2:1.1 ad-namecache-base2:1.1 ad-namecache-base1:1.1 ad-namecache:1.1.0.12 ad-namecache-base:1.1 netbsd-9-0-RC1:1.1 phil-wifi-20191119:1.1 netbsd-9:1.1.0.10 netbsd-9-base:1.1 phil-wifi-20190609:1.1 netbsd-8-1-RELEASE:1.1.2.2 netbsd-8-1-RC1:1.1.2.2 isaki-audio2:1.1.0.8 isaki-audio2-base:1.1 pgoyette-compat-merge-20190127:1.1 pgoyette-compat-20190127:1.1 pgoyette-compat-20190118:1.1 pgoyette-compat-1226:1.1 pgoyette-compat-1126:1.1 pgoyette-compat-1020:1.1 pgoyette-compat-0930:1.1 pgoyette-compat-0906:1.1 pgoyette-compat-0728:1.1 netbsd-8-0-RELEASE:1.1.2.2 phil-wifi:1.1.0.6 phil-wifi-base:1.1 pgoyette-compat-0625:1.1 netbsd-8-0-RC2:1.1.2.2 pgoyette-compat-0521:1.1 pgoyette-compat-0502:1.1 pgoyette-compat-0422:1.1 netbsd-8-0-RC1:1.1.2.2 pgoyette-compat-0415:1.1 pgoyette-compat-0407:1.1 pgoyette-compat-0330:1.1 pgoyette-compat-0322:1.1 pgoyette-compat-0315:1.1 pgoyette-compat:1.1.0.4 pgoyette-compat-base:1.1 netbsd-8:1.1.0.2; locks; strict; comment @# @; 1.1 date 2017.12.09.08.03.07; author pgoyette; state Exp; branches 1.1.2.1; next ; commitid Q2FWSKJI8vGbRbiA; 1.1.2.1 date 2017.12.09.08.03.07; author snj; state dead; branches; next 1.1.2.2; commitid EAquKQt3qzracNjA; 1.1.2.2 date 2017.12.21.19.14.41; author snj; state Exp; branches; next ; commitid EAquKQt3qzracNjA; desc @@ 1.1 log @Split ip_ecn code into its own module, so it can be shared between gif(4), stf(4), and ipsec(4). Without this, loading the if_gif module can result in redefined global symbols if either ipsec(4) or stf(4) but not gif(4) is built into the kernel. Fixes PR kern/52795 (as reported by martin@@ via irc). XXX pullup to netbsd-8 @ text @# $NetBSD$ .include "../Makefile.inc" .PATH: ${S}/netinet KMOD= ip_ecn SRCS= ip_ecn.c CPPFLAGS+= -DINET CPPFLAGS+= -DINET6 .include @ 1.1.2.1 log @file Makefile was added on branch netbsd-8 on 2017-12-21 19:14:41 +0000 @ text @d1 13 @ 1.1.2.2 log @Pull up following revision(s) (requested by pgoyette in ticket #436): distrib/sets/lists/modules/mi: revision 1.112 sys/modules/Makefile: revision 1.196 sys/modules/ip_ecn/Makefile: revision 1.1 sys/modules/if_gif/Makefile: revision 1.3 sys/net/if_gif.c: revision 1.136 sys/netinet/ip_ecn.c: revision 1.17 Split ip_ecn code into its own module, so it can be shared between gif(4), stf(4), and ipsec(4). Without this, loading the if_gif module can result in redefined global symbols if either ipsec(4) or stf(4) but not gif(4) is built into the kernel. Fixes PR kern/52795 (as reported by martin@@ via irc). @ text @a0 13 # $NetBSD$ .include "../Makefile.inc" .PATH: ${S}/netinet KMOD= ip_ecn SRCS= ip_ecn.c CPPFLAGS+= -DINET CPPFLAGS+= -DINET6 .include @