summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorVeaceslav Falico <vfalico@redhat.com>2014-01-16 03:02:19 +0400
committerDavid S. Miller <davem@davemloft.net>2014-01-17 05:15:42 +0400
commitb01f236c66b214a73816a4083050f73481638a72 (patch)
tree93419442883d7d78abac6bfb4ccc1381d33841b0 /include/linux/debugobjects.h
parent1d486bfb66971ebacc2a46a23431ace9af70dc66 (diff)
downloadlinux-b01f236c66b214a73816a4083050f73481638a72.tar.xz
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 <jiri@resnulli.us> Signed-off-by: Veaceslav Falico <vfalico@redhat.com> Acked-by: Jiri Pirko <jiri@resnulli.us> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions