From: Jiri Pirko Date: Thu, 29 May 2014 18:46:17 +0000 (+0200) Subject: team: fix mtu setting X-Git-Tag: omap-for-v3.16/fixes-against-rc1~107^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d0d68faea6962d62dd501cd6e71ce5cc8ed262b;p=pandora-kernel.git team: fix mtu setting Now it is not possible to set mtu to team device which has a port enslaved to it. The reason is that when team_change_mtu() calls dev_set_mtu() for port device, notificator for NETDEV_PRECHANGEMTU event is called and team_device_event() returns NOTIFY_BAD forbidding the change. So fix this by returning NOTIFY_DONE here in case team is changing mtu in team_change_mtu(). Introduced-by: 3d249d4c "net: introduce ethernet teaming device" Signed-off-by: Jiri Pirko Acked-by: Flavio Leitner Signed-off-by: David S. Miller --- Reading git-diff-tree failed