commit | 10a5af238cd29b7e43af0dc0690ae9baa0650c36 | [log] [tgz] |
---|---|---|
author | Jiri Benc <jbenc@redhat.com> | Tue Feb 23 18:02:59 2016 +0100 |
committer | David S. Miller <davem@davemloft.net> | Thu Feb 25 15:17:12 2016 -0500 |
tree | 6e4383a2dc4cec9568298126abc733bfdb672eaf | |
parent | f2d1968ec85e85def98fdea0cf325851433bb60a [diff] |
vxlan: simplify metadata_dst usage in vxlan_rcv Now when the packet is scrubbed early, the metadata_dst can be assigned to the skb as soon as it is allocated. This simplifies the error cleanup path, as the dst will be freed by kfree_skb. It is also not necessary to pass it as a parameter to functions anymore. Signed-off-by: Jiri Benc <jbenc@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>