linux_dsm_epyc7002/drivers/net/ethernet/realtek
John Greene 83c34fd00d 8139cp: Prevent dev_close/cp_interrupt race on MTU change
commit:  cb64edb6b8 upstream

Above commit may introduce a race between cp_interrupt and dev_close
/ change MTU / dev_open up state. Changes cp_interrupt to tolerate
this.  Change spin_locking in cp_interrupt to avoid possible
but unobserved race.

Reported-by: "Francois Romieu" <romieu@fr.zoreil.com>

Tested on virtual hardware, Tx MTU size up to 4096, max tx payload
    was ping -s 4068 for MTU of 4096. No real hardware, need test
    assist.

Signed-off-by: "John Greene" <jogreene@redhat.com>
CC: "David S. Miller" <davem@davemloft.net>
CC: "David Woodhouse" <David.Woodhouse@intel.com>
Tested-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-12-19 14:30:59 -08:00
..
8139cp.c 8139cp: Prevent dev_close/cp_interrupt race on MTU change 2012-12-19 14:30:59 -08:00
8139too.c 8139too: remove __dev* attributes 2012-12-03 11:16:45 -08:00
atp.c atp: remove set_rx_mode_8012() 2012-11-03 15:43:04 -04:00
atp.h atp: remove set_rx_mode_8012() 2012-11-03 15:43:04 -04:00
Kconfig drivers/net: fix up stale paths from driver reorg 2012-01-30 12:54:40 -05:00
Makefile net/ethernet: sc92031 is not Realtek 2011-11-01 19:30:38 -04:00
r8169.c r8169: workaround for missing extended GigaMAC registers 2012-12-08 20:27:33 -05:00