]> git.ipfire.org Git - thirdparty/dracut.git/commit
Set MTU on bond master as opposed to a bond slave 277/head
authorImran Haider <imran1008@gmail.com>
Sun, 3 Sep 2017 03:25:21 +0000 (23:25 -0400)
committerImran Haider <imran1008@gmail.com>
Sun, 3 Sep 2017 04:15:37 +0000 (00:15 -0400)
commit79926486a01fdd8fc55432200886c83a1622875f
tree1c66908b503ab6b580fe43744a0aec1d7c51de7c
parent424c065cd99cc9c35a92a68d34c161beff5f5497
Set MTU on bond master as opposed to a bond slave

Prior to this commit, the MTU setting was applied to a bond slave
interface.  In older versions of the Linux kernel, this setting
propagated to the bond master and the other bond slaves associated with
the master.  In recent versions of the kernel (observed in Linux 4.12),
increasing the MTU of a slave does not automatically increase the MTU of
the master.  This allows for more flexibility but requires the MTU of
the master to be changed manually.

Ideally, the MTU setting should be applied to the bond master and the
setting will propagate to the bond slaves, since the slaves are required
to have a MTU that is greater than or equal to the bond master.
modules.d/40network/ifup.sh