diff options
author | Cong Wang <[email protected]> | 2014-02-06 15:00:52 -0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2014-02-06 21:28:06 -0800 |
commit | dbe173079ab58a444e12dbebe96f5aec1e0bed1a (patch) | |
tree | 99e3267bb0bf26cbcadc15dae0431d29f1a2f765 /lib/mpi/mpi-internal.h | |
parent | ed98df3361f059db42786c830ea96e2d18b8d4db (diff) |
bridge: fix netconsole setup over bridge
Commit 93d8bf9fb8f3 ("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: 93d8bf9fb8f3 ("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]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions