diff options
author | Jiri Benc <jbenc@redhat.com> | 2016-02-23 20:02:59 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-02-25 23:17:12 +0300 |
commit | 10a5af238cd29b7e43af0dc0690ae9baa0650c36 (patch) | |
tree | 6e4383a2dc4cec9568298126abc733bfdb672eaf /net/dsa/slave.c | |
parent | f2d1968ec85e85def98fdea0cf325851433bb60a (diff) | |
download | linux-10a5af238cd29b7e43af0dc0690ae9baa0650c36.tar.xz |
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>
Diffstat (limited to 'net/dsa/slave.c')
0 files changed, 0 insertions, 0 deletions