From: Eli Cohen Date: Tue, 15 Jul 2008 06:48:51 +0000 (-0700) Subject: IPoIB: Use dev_set_mtu() to change mtu X-Git-Tag: v2.6.27-rc1~1090^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd3606715effbf37df986548c43bbed0842b49d5;p=pandora-kernel.git 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 Signed-off-by: Roland Dreier --- Reading git-diff-tree failed