Source-Changes archive

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

CVS commit: src/sys



Module Name:    src
Committed By:   knakahara
Date:           Fri Apr 27 09:55:28 UTC 2018

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

Log Message:
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.139 -r1.140 src/sys/net/if_gif.c
cvs rdiff -u -r1.30 -r1.31 src/sys/net/if_gif.h
cvs rdiff -u -r1.12 -r1.13 src/sys/net/if_ipsec.c
cvs rdiff -u -r1.2 -r1.3 src/sys/net/if_ipsec.h
cvs rdiff -u -r1.23 -r1.24 src/sys/net/if_l2tp.c
cvs rdiff -u -r1.4 -r1.5 src/sys/net/if_l2tp.h
cvs rdiff -u -r1.92 -r1.93 src/sys/netinet/in_gif.c
cvs rdiff -u -r1.12 -r1.13 src/sys/netinet/in_l2tp.c
cvs rdiff -u -r1.91 -r1.92 src/sys/netinet6/in6_gif.c
cvs rdiff -u -r1.14 -r1.15 src/sys/netinet6/in6_l2tp.c
cvs rdiff -u -r1.7 -r1.8 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