On 19 February 2015 at 21:30, Alexander Bluhm <alexander.bl...@gmx.net> wrote: > On Wed, Feb 18, 2015 at 12:14:15PM +0100, Matthieu Herrb wrote: >> Feb 18 12:09:59 castor /bsd: splassert: rtrequest1: want 5 have 0 >> Feb 18 12:09:59 castor /bsd: Starting stack trace... >> Feb 18 12:09:59 castor /bsd: splassert_check() at splassert_check+0x78 >> Feb 18 12:09:59 castor /bsd: rtrequest1() at rtrequest1+0x5e >> Feb 18 12:09:59 castor /bsd: nd6_prefix_offlink() at >> nd6_prefix_offlink+0x1bf >> Feb 18 12:09:59 castor /bsd: pfxlist_onlink_check() at >> pfxlist_onlink_check+0x25e >> Feb 18 12:09:59 castor /bsd: in6_control() at in6_control+0x894 >> Feb 18 12:09:59 castor /bsd: ifioctl() at ifioctl+0x175 >> Feb 18 12:09:59 castor /bsd: sys_ioctl() at sys_ioctl+0x169 >> Feb 18 12:09:59 castor /bsd: syscall() at syscall+0x297 >> Feb 18 12:09:59 castor /bsd: --- syscall (number 54) --- >> Feb 18 12:09:59 castor /bsd: end of kernel >> Feb 18 12:09:59 castor /bsd: end trace frame: 0xc8115948400, count: >> 249 >> Feb 18 12:09:59 castor /bsd: 0xc8115715cda: >> Feb 18 12:09:59 castor /bsd: End of stack trace. >> Feb 18 12:10:00 castor /bsd: carp0: state transition: BACKUP -> MASTER > > Most calls to pfxlist_onlink_check() are protected by splsoftnet. > Only the path in your trace does not set it. So I suggest to set > splsoftnet() in in6_control(). I have included the dohooks() as > this is done in IPv4. While there I have moved some splsoftnet() > hiding in the declarations to the beginning of the code. > > ok? > > bluhm >
OK, thanks for taking a look!