]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
bonding: move slave MTU handling from sysfs V2
authorJiri Pirko <jpirko@redhat.com>
Tue, 18 May 2010 05:42:40 +0000 (05:42 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Jun 2010 10:39:41 +0000 (03:39 -0700)
commitb15ba0fbdc2e54c3885fed91c54aeef7fe474033
treebc51f9675212866b4f7ae68fd54fa28b3e85e6d0
parent64585909996de7deaf8aa5cf7629d775b16ee417
bonding: move slave MTU handling from sysfs V2

V1->V2: corrected res/ret use

For some reason, MTU handling (storing, and restoring) is taking  place in
bond_sysfs. The correct place for this code is in bond_enslave, bond_release.
So move it there.

Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c
drivers/net/bonding/bond_sysfs.c