summaryrefslogtreecommitdiff
path: root/lib/fdt_ro.c
diff options
context:
space:
mode:
authorMarcelo Leitner <mleitner@redhat.com>2015-01-30 09:56:01 -0200
committerDavid S. Miller <davem@davemloft.net>2015-02-02 17:51:14 -0800
commit61132bf7fbe3a802df1f68ad08e8ca10d6b30ddc (patch)
treefba3cc66ad8d8a2c4b6b402f844b1f87bc61068a /lib/fdt_ro.c
parentbdbbb8527b6f6a358dbcb70dac247034d665b8e4 (diff)
qlge: Fix qlge_update_hw_vlan_features to handle if interface is down
Currently qlge_update_hw_vlan_features() will always first put the interface down, then update features and then bring it up again. But it is possible to hit this code while the adapter is down and this causes a non-paired call to napi_disable(), which will get stuck. This patch fixes it by skipping these down/up actions if the interface is already down. Fixes: a45adbe8d352 ("qlge: Enhance nested VLAN (Q-in-Q) handling.") Cc: Harish Patil <harish.patil@qlogic.com> Signed-off-by: Marcelo Ricardo Leitner <mleitner@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/fdt_ro.c')
0 files changed, 0 insertions, 0 deletions