zephyr/drivers
Aurelien Jarno 33dae59a57 drivers: eth: gmac: fix race condition in packet reference counting
The SAM E70 GMAC ethernet driver reference a packet with net_pkt_ref()
when queueing a packet, and unreference it with net_pkt_unref() in the
ISR when it has been fully sent.

The call to net_pkt_ref() is done just after re-enabling the
interruptions, so there is however a small race condition that might
cause the packet to be unreference before being referenced. This is
only theoretical and has not been seen in practice.

Fix that by moving the call to net_pkt_ref() just before re-enabling
the interruptions.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
2019-01-29 09:23:52 +02:00
..
adc drivers: adc: Fix handling of invalid sampling requests 2019-01-17 16:58:21 -05:00
aio drivers: Add 'U' to unsigned variable assignments 2018-12-04 22:51:56 -05:00
audio drivers/audio: Add support to ST digital microphones (MPxxDTyy) 2019-01-28 11:57:25 -06:00
bluetooth drivers: Add 'U' to unsigned variable assignments 2018-12-04 22:51:56 -05:00
can drivers: Add 'U' to unsigned variable assignments 2018-12-04 22:51:56 -05:00
clock_control clock_control: RV32M1: introduce PCC driver / DT bindings 2019-01-25 11:59:46 -05:00
console net: websocket: Remove the websocket as HTTP APIs are removed 2019-01-25 11:21:20 -05:00
counter drivers: Add 'U' to unsigned variable assignments 2018-12-04 22:51:56 -05:00
crypto drivers: Add 'U' to unsigned variable assignments 2018-12-04 22:51:56 -05:00
display drivers: Modify drivers to use DEVICE_AND_API_INIT() 2019-01-15 10:39:34 -08:00
dma dma: stm32: Configure bus width and burst size for memcpy mode 2018-12-13 07:33:30 -06:00
entropy drivers: entropy: mcux_trng: get the base address from the device tree 2019-01-10 21:22:15 -06:00
ethernet drivers: eth: gmac: fix race condition in packet reference counting 2019-01-29 09:23:52 +02:00
flash flash: w25qxxdv: Convert to new DT_<COMPAT>_<INSTANCE> defines 2019-01-28 10:40:31 -06:00
gpio gpio: RV32M1: introduce gpio driver / DT bindings 2019-01-25 11:59:46 -05:00
i2c drivers: i2c: i2c_sbcon: Convert to new DT_<COMPAT>_<INSTANCE> defines 2019-01-25 08:55:06 -06:00
i2s drivers/i2s_ll_stm32.c: pass proper PLLR param when setting I2S PLL 2019-01-24 09:35:53 -06:00
ieee802154 ieee802154: cc2520: Convert to new DT_<COMPAT>_<INSTANCE> defines 2019-01-28 10:40:14 -06:00
interrupt_controller interrupt_controller: RV32M1: add intmux driver / DT bindings 2019-01-25 11:59:46 -05:00
ipm drivers: ipm: ipm_quark_se: Remove object declaration from header 2018-12-07 10:32:41 -05:00
led drivers: Add 'U' to unsigned variable assignments 2018-12-04 22:51:56 -05:00
led_strip led_strip: ws2182: Add Device Tree support 2019-01-18 12:47:45 -06:00
modem drivers: modem: modem receiver dependencies adaptation 2019-01-25 17:36:59 -05:00
net net/ethernet: Remove usage of net_pkt_ll() function 2018-12-14 14:16:37 +01:00
neural_net drivers: intel_gna: replace k_alert with work queue 2019-01-16 21:34:07 -05:00
pci pci: General code cleanup 2018-12-07 11:32:45 -05:00
pinmux drivers: pinmux: stm32: st: add L4 UART4 AF on PC10 and PC11 2019-01-28 09:54:00 -06:00
ptp_clock drivers: ptp_clock: Kconfig: Remove redundant 'default n' properties 2018-07-03 17:11:31 -04:00
pwm drivers: pwm: nrf: Correct dependency of PWM_NRFX Kconfig option 2019-01-21 10:13:34 +01:00
rtc drivers: stm32: check clock_control_on return value 2018-12-07 11:31:48 -05:00
sensor driver/sensor: lis3mdl: align driver to auto-generated dts macros 2019-01-28 10:01:19 -06:00
serial serial: RV32M1: introduce lpuart driver / DT bindings 2019-01-25 11:59:46 -05:00
spi drivers: spi_sam: initialize tx and rx 2019-01-14 14:07:52 -05:00
timer interrupt_controller: RV32M1: add intmux driver / DT bindings 2019-01-25 11:59:46 -05:00
usb drivers: nordic: usb: USBD event handling rework 2019-01-23 16:55:15 +01:00
watchdog drivers: wdog: cmsdk: Convert to new DT_<COMPAT>_<INSTANCE> defines 2019-01-25 08:55:06 -06:00
wifi wifi: winc1500: Convert to new DT_<COMPAT>_<INSTANCE> defines 2019-01-28 10:39:59 -06:00
CMakeLists.txt drivers: neural_net: Use correct Kconfig variable 2018-11-09 16:52:32 -05:00
Kconfig kconfig: intel_s1000: Add neural_net Kconfig 2018-11-08 17:08:19 -05:00