NetBSD-Bugs archive

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

PR/51356 CVS commit: src/sys



The following reply was made to PR kern/51356; it has been noted by GNATS.

From: "Ryota Ozaki" <ozaki-r%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/51356 CVS commit: src/sys
Date: Thu, 28 Jul 2016 09:03:51 +0000

 Module Name:	src
 Committed By:	ozaki-r
 Date:		Thu Jul 28 09:03:51 UTC 2016
 
 Modified Files:
 	src/sys/netinet: if_arp.c in.c
 	src/sys/netinet6: in6.c nd6_nbr.c
 
 Log Message:
 Fix panic on adding/deleting IP addresses under network load
 
 Adding and deleting IP addresses aren't serialized with other network
 opeartions, e.g., forwarding packets. So if we add or delete an IP
 address under network load, a kernel panic may happen on manipulating
 network-related shared objects such as rtentry and rtcache.
 
 To avoid such panicks, we still need to hold softnet_lock in in_control
 and in6_control that are called via ioctl and do network-related operations
 including IP address additions/deletions.
 
 Fix PR kern/51356
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.219 -r1.220 src/sys/netinet/if_arp.c
 cvs rdiff -u -r1.176 -r1.177 src/sys/netinet/in.c
 cvs rdiff -u -r1.211 -r1.212 src/sys/netinet6/in6.c
 cvs rdiff -u -r1.125 -r1.126 src/sys/netinet6/nd6_nbr.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