rpokala-panasas.com added a comment. >>! In D1986#4, @ae wrote: > Just a thought. Imagine two interfaces, one has maximum MTU 2200, another > 1500. lagg0 has MTU 1400. > Two threads invokes changing MTU in the same time. One wants to change it to > 2000, another - to 1500. > It is possible, that when both threads will finish its job, one interface > will have MTU 1400, but another - 1500. > I mean, that such changes should be done exclusively without possibility of > races in the ioctl code.
Don't the calls to LAGG_RLOCK() / LAGG_RUNLOCK() prevent that by enforcing serialization? REVISION DETAIL https://reviews.freebsd.org/D1986 To: rpokala-panasas.com, rstone Cc: ae, freebsd-net _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[email protected]"
