commit | d4ac05ff3697e036dcb0e2e284c5f7eb77cc0966 | [log] [tgz] |
---|---|---|
author | Jiri Benc <jbenc@redhat.com> | Tue Feb 16 21:58:57 2016 +0100 |
committer | David S. Miller <davem@davemloft.net> | Wed Feb 17 23:52:11 2016 -0500 |
tree | 3c9c9da05ad0aac7b3d2e82b4351444f3a826556 | |
parent | d8ef034730350f98c622eb7560dea28b258e9daf [diff] |
vxlan: introduce vxlan_hdr Currently, pointer to the vxlan header is kept in a local variable. It has to be reloaded whenever the pskb pull operations are performed which usually happens somewhere deep in called functions. Create a vxlan_hdr function and use it to reference the vxlan header instead. Signed-off-by: Jiri Benc <jbenc@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>