diff options
author | Cong Wang <cwang@twopensource.com> | 2014-02-06 15:00:52 -0800 |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2014-02-26 10:22:51 +0100 |
commit | d7691e10f65fd732695f1ccc60b89b712ad0bb49 (patch) | |
tree | c7d4f9ddfe8e89da3199982e6cb5645aa698945a /include | |
parent | ef9daf83724b8475236c64c85c6e31aa7cd0aa9b (diff) |
bridge: fix netconsole setup over bridge
[ Upstream commit dbe173079ab58a444e12dbebe96f5aec1e0bed1a ]
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 <makita.toshiaki@lab.ntt.co.jp>
Cc: Stephen Hemminger <stephen@networkplumber.org>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Cong Wang <cwang@twopensource.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Acked-by: Toshiaki Makita <makita.toshiaki@lab.ntt.co.jp>
Tested-by: Toshiaki Makita <makita.toshiaki@lab.ntt.co.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions