Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-8] src/sys

Module Name:    src
Committed By:   martin
Date:           Thu May 17 14:07:04 UTC 2018

Modified Files:
        src/sys/net [netbsd-8]: if_gif.c if_gif.h if_ipsec.c if_ipsec.h
            if_l2tp.c if_l2tp.h
        src/sys/netinet [netbsd-8]: in_gif.c in_l2tp.c
        src/sys/netinet6 [netbsd-8]: in6_gif.c in6_l2tp.c
        src/sys/netipsec [netbsd-8]: ipsecif.c

Log Message:
Pull up following revision(s) (requested by knakahara in ticket #829):

        sys/net/if_l2tp.c: revision 1.24
        sys/net/if_ipsec.c: revision 1.13
        sys/net/if_gif.h: revision 1.31
        sys/netipsec/ipsecif.c: revision 1.8
        sys/net/if_gif.c: revision 1.140
        sys/netinet6/in6_l2tp.c: revision 1.15
        sys/net/if_ipsec.h: revision 1.3
        sys/netinet6/in6_gif.c: revision 1.92
        sys/net/if_l2tp.h: revision 1.5
        sys/netinet/in_l2tp.c: revision 1.13
        sys/netinet/in_gif.c: revision 1.93

Fix LOCKDEBUG kernel panic when many(about 200) tunnel interfaces is created.

The tunnel interfaces are gif(4), l2tp(4), and ipsecif(4). They use mutex
itself in percpu area. When percpu_cpu_enlarge() run, the address of the
mutex in percpu area becomes different from the address which lockdebug
saved. That can cause "already initialized" false detection.

To generate a diff of this commit:
cvs rdiff -u -r1.126.2.9 -r1.126.2.10 src/sys/net/if_gif.c
cvs rdiff -u -r1.25.8.2 -r1.25.8.3 src/sys/net/if_gif.h
cvs rdiff -u -r1.3.2.6 -r1.3.2.7 src/sys/net/if_ipsec.c
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/sys/net/if_ipsec.h
cvs rdiff -u -r1.11.2.7 -r1.11.2.8 src/sys/net/if_l2tp.c
cvs rdiff -u -r1.2.2.1 -r1.2.2.2 src/sys/net/if_l2tp.h
cvs rdiff -u -r1.87.8.4 -r1.87.8.5 src/sys/netinet/in_gif.c
cvs rdiff -u -r1.2.8.4 -r1.2.8.5 src/sys/netinet/in_l2tp.c
cvs rdiff -u -r1.85.6.5 -r1.85.6.6 src/sys/netinet6/in6_gif.c
cvs rdiff -u -r1.5.8.4 -r1.5.8.5 src/sys/netinet6/in6_l2tp.c
cvs rdiff -u -r1.1.2.6 -r1.1.2.7 src/sys/netipsec/ipsecif.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index