atl1: fix kernel panic in case of DMA errors
Problem: There was two separate work_struct structures which share one handler. Unfortunately getting atl1_adapter structure from work_struct in case of DMA error was done from incorrect offset which cause kernel panics. Solution: The useless work_struct for DMA error removed and handler name changed to more generic one. Signed-off-by:Tony Zelenoff <antonz@parallels.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/net/ethernet/atheros/atlx/atl1.c 5 additions, 7 deletionsdrivers/net/ethernet/atheros/atlx/atl1.c
- drivers/net/ethernet/atheros/atlx/atl1.h 1 addition, 2 deletionsdrivers/net/ethernet/atheros/atlx/atl1.h
- drivers/net/ethernet/atheros/atlx/atlx.c 1 addition, 1 deletiondrivers/net/ethernet/atheros/atlx/atlx.c
Loading
Please register or sign in to comment