When 'midev->allow_rx' is false, the newly allocated skb isn't consumed
by netif_rx(), it needs to free the skb directly.
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| mctp-i2c.c | ||
| mctp-i3c.c | ||
| mctp-serial.c | ||
| mctp-usb.c | ||
When 'midev->allow_rx' is false, the newly allocated skb isn't consumed
by netif_rx(), it needs to free the skb directly.
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| mctp-i2c.c | ||
| mctp-i3c.c | ||
| mctp-serial.c | ||
| mctp-usb.c | ||