Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Mar 2015 07:38:36 +0000
From:      "ae (Andrey V. Elsukov)" <phabric-noreply@FreeBSD.org>
To:        freebsd-net@freebsd.org
Subject:   [Differential] [Commented On] D1986: Teach lagg(4) to change MTU
Message-ID:  <d785ba5bc31684c5d299a7685ec15f48@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 comment.

>>! In D1986#7, @rstone wrote:
> RLOCK only gets a read lock.  You want WLOCK to get a write lock to ensure serialization.

Also we can use another lock in the lagg_ioctl, that will prevent simultaneous MTU changing.

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

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



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