From: Veaceslav Falico Date: Wed, 15 Jan 2014 23:02:19 +0000 (+0100) Subject: team: block mtu change before it happens via NETDEV_PRECHANGEMTU X-Git-Tag: v3.14-rc1~94^2~126 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b01f236c66b214a73816a4083050f73481638a72;p=pandora-kernel.git team: block mtu change before it happens via NETDEV_PRECHANGEMTU 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 Signed-off-by: Veaceslav Falico Acked-by: Jiri Pirko Signed-off-by: David S. Miller --- Reading git-diff-tree failed