[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140116.171630.1801782887385167816.davem@davemloft.net>
Date: Thu, 16 Jan 2014 17:16:30 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: vfalico@...hat.com
Cc: netdev@...r.kernel.org, jiri@...nulli.us
Subject: Re: [PATCH net-next 2/2] team: block mtu change before it happens
via NETDEV_PRECHANGEMTU
From: Veaceslav Falico <vfalico@...hat.com>
Date: Thu, 16 Jan 2014 00:02:19 +0100
> Now it catches the NETDEV_CHANGEMTU notification, which is signaled after
> the actual change happened on the device, and returns NOTIFY_BAD, so that
> the change on the device is reverted.
>
> This might be quite costly and messy, so use the new NETDEV_PRECHANGEMTU to
> catch the MTU change before the actual change happens and signal that it's
> forbidden to do it.
>
> CC: Jiri Pirko <jiri@...nulli.us>
> Signed-off-by: Veaceslav Falico <vfalico@...hat.com>
Also applied, nice work.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists