[IPV4]: Do not leak dst entries in ip_copy_metadata().
Netfilter conntrack can defragment locally generated
packets before they hit ip_fragment(). In this case
the fragments have skb->dst set already, so we have to
release that existing reference before overwriting
skb->dst.
Signed-off-by: David S. Miller <davem@davemloft.net>
Showing
Please register or sign in to comment