Searched hist:"3 d249d4c" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | if_team.h | 9d0d68faea6962d62dd501cd6e71ce5cc8ed262b Thu May 29 13:46:17 CDT 2014 Jiri Pirko <jiri@resnulli.us> 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 <jiri@resnulli.us> Acked-by: Flavio Leitner <fbl@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/drivers/net/team/ |
H A D | team.c | 9d0d68faea6962d62dd501cd6e71ce5cc8ed262b Thu May 29 13:46:17 CDT 2014 Jiri Pirko <jiri@resnulli.us> 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 <jiri@resnulli.us> Acked-by: Flavio Leitner <fbl@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net> ed2da03c6907800871234f5cae42db7d80de8dfc Wed Apr 23 07:17:55 CDT 2014 Jiri Pirko <jiri@resnulli.us> team: forbid incorrect fall-through in notifier
There are two breaks missing there. The result is that userspace receives multiple messages which might be confusing.
Introduced-by: 3d249d4c "net: introduce ethernet teaming device" Signed-off-by: Jiri Pirko <jiri@resnulli.us> Signed-off-by: David S. Miller <davem@davemloft.net> 72df935d985c1575ed44ad2c8c653b28147993fa Sat Jun 08 08:00:54 CDT 2013 Jiri Pirko <jiri@resnulli.us> team: move add to port list before port enablement
team_port_enable() adds port to port_hashlist. Reader sees port in team_get_port_by_index_rcu() and returns it, but team_get_first_port_txable_rcu() tries to go through port_list, where the port is not inserted yet -> NULL pointer dereference. Fix this by reordering port_list and port_hashlist insertion. Panic is easily triggeable when txing packets and adding/removing port in a loop.
Introduced by commit 3d249d4c "net: introduce ethernet teaming device"
Signed-off-by: Jiri Pirko <jiri@resnulli.us> Signed-off-by: David S. Miller <davem@davemloft.net>
|