[Differential] [Changed Subscribers] D1986: Teach lagg(4) to change MTU

ae (Andrey V. Elsukov) phabric-noreply at FreeBSD.org
Sun Mar 1 12:50:17 UTC 2015


ae added a subscriber: ae.
ae added a comment.

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.

REVISION DETAIL
  https://reviews.freebsd.org/D1986

To: rpokala-panasas.com, rstone
Cc: ae, freebsd-net


More information about the freebsd-net mailing list