Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
veth: fix a NULL deref in netif_carrier_off
In commit d0e2c55 (veth: avoid a NULL deref in veth_stats_one) we now clear the peer pointers in veth_dellink() veth_close() must therefore make sure the peer pointer is set. Reported-by: Tom Parkin <tom.parkin@gmail.com> Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
- Loading branch information