diff options
| author | Ioana Ciornei <[email protected]> | 2021-01-11 17:18:02 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2021-01-14 03:21:51 +0000 |
| commit | 848c1903d35e2eb4fdf8b1a0a6721876e8c88e5d (patch) | |
| tree | 6e64b4f5b6c422064dacaf60527ff69616f86fb3 /net/ipv4/tcp_output.c | |
| parent | dpaa2-eth: add support for Rx VLAN filtering (diff) | |
| download | kernel-848c1903d35e2eb4fdf8b1a0a6721876e8c88e5d.tar.gz kernel-848c1903d35e2eb4fdf8b1a0a6721876e8c88e5d.zip | |
dpaa2-mac: fix the remove path for non-MAC interfaces
Check if the interface is indeed connected to a MAC before trying to
close the DPMAC object representing it. Without this check we end up
working with a NULL pointer.
Fixes: d87e606373f6 ("dpaa2-mac: export MAC counters even when in TYPE_FIXED")
Signed-off-by: Ioana Ciornei <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions
