Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Mar 2015 12:50:16 +0000
From:      "ae (Andrey V. Elsukov)" <phabric-noreply@FreeBSD.org>
To:        freebsd-net@freebsd.org
Subject:   [Differential] [Changed Subscribers] D1986: Teach lagg(4) to change MTU
Message-ID:  <255974716a5da874d653152fa3c43a7e@localhost.localdomain>
In-Reply-To: <differential-rev-PHID-DREV-i34kfg4qpajia7fo5u5l-req@FreeBSD.org>
References:  <differential-rev-PHID-DREV-i34kfg4qpajia7fo5u5l-req@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?255974716a5da874d653152fa3c43a7e>