Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bridge: fix netconsole setup over bridge
Commit 93d8bf9 ("bridge: cleanup netpoll code") introduced a check in br_netpoll_enable(), but this check is incorrect for br_netpoll_setup(). This patch moves the code after the check into __br_netpoll_enable() and calls it in br_netpoll_setup(). For br_add_if(), the check is still needed. Fixes: 93d8bf9 ("bridge: cleanup netpoll code") Cc: Toshiaki Makita <[email protected]> Cc: Stephen Hemminger <[email protected]> Cc: David S. Miller <[email protected]> Signed-off-by: Cong Wang <[email protected]> Signed-off-by: Cong Wang <[email protected]> Acked-by: Toshiaki Makita <[email protected]> Tested-by: Toshiaki Makita <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information