ipv4: Consolidate ipv4 dst allocation logic.
authorDavid S. Miller <davem@davemloft.net>
Thu, 17 Feb 2011 23:42:37 +0000 (15:42 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Feb 2011 23:42:37 +0000 (15:42 -0800)
commit0c4dcd58fd69aded93b0dc6917cd88b262c8aa3f
treed410498acb93dee35b8da0092d9db5e8b226fc08
parent010c2708e536938a2f84d51d625f603b9a8f80ac
ipv4: Consolidate ipv4 dst allocation logic.

This also allows us to combine all the dst->flags settings and avoid
read/modify/write sequences to this struct member.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/route.c