diff options
author | Jiri Pirko <jiri@resnulli.us> | 2014-05-29 20:46:17 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-06-26 15:15:39 -0400 |
commit | 03bcf77669fbe71906c92b25a450e9b1dc2b4ee4 (patch) | |
tree | 592a18e6321c92726ed965fdd511950854aa2a34 /drivers/crypto/picoxcell_crypto_regs.h | |
parent | e5ec00f5d24123cca753234933abe5bf75b1a4d4 (diff) | |
download | linux-rt-03bcf77669fbe71906c92b25a450e9b1dc2b4ee4.tar.gz |
team: fix mtu setting
[ Upstream commit 9d0d68faea6962d62dd501cd6e71ce5cc8ed262b ]
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 <jiri@resnulli.us>
Acked-by: Flavio Leitner <fbl@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/crypto/picoxcell_crypto_regs.h')
0 files changed, 0 insertions, 0 deletions