udp: no need to preserve skb->dst
authorPaolo Abeni <pabeni@redhat.com>
Thu, 3 Aug 2017 16:07:08 +0000 (18:07 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Aug 2017 03:51:12 +0000 (20:51 -0700)
commit3bdefdf9d9c2a972085742578b08d99f14c09555
treeae76e777f002bfe770d8c5146abe4427022b0dde
parent61a1030bad628f7264cd5e5d0f4d71b5488eb4a4
udp: no need to preserve skb->dst

__ip_options_echo() does not need anymore skb->dst, so we can
avoid explicitly preserving it for its own sake.

This is almost a revert of commit 0ddf3fb2c43d ("udp: preserve
skb->dst if required for IP options processing") plus some
lifting to fit later changes.

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/udp.c