]> 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)
commitc50edf0015f721de82793ec1955db696c1c5d8db
tree8154f3f53831411e20ca9eb2c51ab11a6a48728f
parentfe39339bb27043f8d9dd1e2ac3352ae43c9218bc
team: fix netconsole setup over team

The same fix in Commit cf630a3aaa2e ("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: 57cf58245955 ("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