]> git.baikalelectronics.ru Git - kernel.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)
commit50377955844b31dc7fc5efb73f842580ed7f3fa0
tree8154f3f53831411e20ca9eb2c51ab11a6a48728f
parentdc52f69d42f2712290cb8e23f3b6f8e5df9de3e2
team: fix netconsole setup over team

The same fix in Commit f9f082570f0e ("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: adfa2cb968bb ("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