aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/.gitignore
diff options
context:
space:
mode:
authorMatt Carlson <mcarlson@broadcom.com>2010-09-30 10:34:30 +0000
committerDavid S. Miller <davem@davemloft.net>2010-10-01 00:24:41 -0700
commit66cfd1bd05a7a1c31c9cdbb2ddf5c57d1cddc5f6 (patch)
treedb289b3d2e73bc3a9f6dcb480911210046c0de07 /firmware/.gitignore
parent0197aa38df2ce550c0bfc96194b07ce6b68af814 (diff)
downloadkernel_samsung_aries-66cfd1bd05a7a1c31c9cdbb2ddf5c57d1cddc5f6.zip
kernel_samsung_aries-66cfd1bd05a7a1c31c9cdbb2ddf5c57d1cddc5f6.tar.gz
kernel_samsung_aries-66cfd1bd05a7a1c31c9cdbb2ddf5c57d1cddc5f6.tar.bz2
tg3: Fix potential netpoll crash
Up until now the tg3 driver would call netif_napi_add() for the maximum number of NAPI instances the driver could use. The problem is that netpoll could call tg3_poll() on instances that are not active. The net effect is that the driver will crash attempting to dereference uninitialized pointers. The fix is to only allocate as many NAPI instances as the driver would use in tg3_open() and deleted them in tg3_close(). Signed-off-by: Matt Carlson <mcarlson@broadcom.com> Reviewed-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'firmware/.gitignore')
0 files changed, 0 insertions, 0 deletions