aboutsummaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorJianjun kong <[email protected]>2009-04-20 23:48:25 +0000
committerDavid S. Miller <[email protected]>2009-04-22 00:43:24 -0700
commit3f9738f73ad08ef770df64f145007bd27ac2fa16 (patch)
tree86b401379c1503486813914201ac78b55fdc55a2 /lib/debugobjects.c
parent3fa6b5adbe46b3d665267dee0f879858ab464f44 (diff)
8139too: fix HW initial flow
While ifconfig eth0 up kernel calls open() of 8139 driver(8139too.c). In rtl8139_hw_start() of rtl8139_open(), 8139 driver enable RX before setting up the DMA buffer address. In this interval where RX was enabled and DMA buffer address is not yet set up, any incoming broadcast packet would be send to a strange physical address: 0x003e8800 which is the default value of DMA buffer address. Unfortunately, this address is used by Linux kernel. So kernel panics. This patch fix it by setting up DMA buffer address before RX enabled and everything is fine even under broadcast packets attack. Signed-off-by: Jonathan Lin <[email protected]> Signed-off-by: Amos Kong <[email protected]> Signed-off-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions