diff options
author | Eli Cohen <eli@mellanox.co.il> | 2008-07-14 23:48:51 -0700 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2008-07-14 23:48:51 -0700 |
commit | bd3606715effbf37df986548c43bbed0842b49d5 (patch) | |
tree | 08f2a13d486a75b42244beca90ae78c0045c0fc1 /drivers/infiniband/hw/ipath | |
parent | IPoIB: Use rtnl lock/unlock when changing device flags (diff) | |
download | linux-dev-bd3606715effbf37df986548c43bbed0842b49d5.tar.xz linux-dev-bd3606715effbf37df986548c43bbed0842b49d5.zip |
IPoIB: Use dev_set_mtu() to change mtu
When the driver sets the MTU of the net device outside of its
change_mtu method, it should make use of dev_set_mtu() instead of
directly setting the mtu field of struct netdevice. Otherwise
functions registered to be called upon MTU change will not get called
(this is done through call_netdevice_notifiers() in dev_set_mtu()).
Signed-off-by: Eli Cohen <eli@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/ipath')
0 files changed, 0 insertions, 0 deletions