]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
team: fix netconsole setup over team
authorXin Long <lucien.xin@gmail.com>
Tue, 24 Apr 2018 06:33:37 +0000 (14:33 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Apr 2018 13:36:21 +0000 (09:36 -0400)
commit9cf2f437ca5b39828984064fad213e68fc17ef11
tree8154f3f53831411e20ca9eb2c51ab11a6a48728f
parent6cd968f4481437e6a8194b5e028000310ffe5ce2
team: fix netconsole setup over team

The same fix in Commit dbe173079ab5 ("bridge: fix netconsole
setup over bridge") is also needed for team driver.

While at it, remove the unnecessary parameter *team from
team_port_enable_netpoll().

v1->v2:
  - fix it in a better way, as does bridge.

Fixes: 0fb52a27a04a ("team: cleanup netpoll clode")
Reported-by: João Avelino Bellomo Filho <jbellomo@redhat.com>
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/team/team.c