aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorMichal Schmidt <[email protected]>2015-03-16 16:15:59 +0100
committerDavid S. Miller <[email protected]>2015-03-16 17:05:48 -0400
commita8e0c246dacfb0558e801ab81af3f670056fd1b2 (patch)
tree2f9dcc52c327a56ea3b1d5f4031200a67c2925ac /lib/memory-notifier-error-inject.c
parent48b810d9bc4a3ea1baff44fa7f553833dd69b836 (diff)
bnx2x: fix encapsulation features on 57710/57711
E1x chips (57710, 57711(E)) have no support for encapsulation offload. bnx2x incorrectly advertises the support as available. Setting of those features is conditional on "!CHIP_IS_E1x(bp)", but the bp struct is not initialized yet at this point and consequently any chip passes the check. The check must use the "chip_is_e1x" local variable instead to work correctly. Signed-off-by: Michal Schmidt <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions