]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
Staging: batman-adv: Update mtu of bat device by changing mtu of slave device
authorSven Eckelmann <sven.eckelmann@gmx.de>
Sat, 4 Sep 2010 23:58:38 +0000 (01:58 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 5 Sep 2010 07:29:50 +0000 (00:29 -0700)
commit07fd7364b3799277b40228533530e2f301f7fd28
tree149be799b3940cb8223d33f9d255f11c427bf492
parent81abee4f189e56892b2b3e654a46973ff3c3ab4e
Staging: batman-adv: Update mtu of bat device by changing mtu of slave device

We must reduce our own mtu when we reduce the mtu of any device we use
to transfer our packets. Otherwise we may accept to large packets which
gets dropped by the actual device.

Reported-by: Vasiliy Kulikov <segooon@gmail.com>
Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/batman-adv/hard-interface.c