ipv4: use dst with ref during bcast/mcast loopback
commitd52fbfc9e5c7bb0b0dbc256edf17dee170ce839d
authorJulian Anastasov <ja@ssi.bg>
Sun, 7 Aug 2011 10:17:22 +0000 (7 10:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Aug 2011 05:52:32 +0000 (7 22:52 -0700)
tree47ed6e6ba7313703cf5ab9555070afd1e1f67573
parent47670b767b1593433b516df7798df03f858278be
ipv4: use dst with ref during bcast/mcast loopback

Make sure skb dst has reference when moving to
another context. Currently, I don't see protocols that can
hit it when sending broadcasts/multicasts to loopback using
noref dsts, so it is just a precaution.

Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_output.c