]> git.baikalelectronics.ru Git - kernel.git/commit
vxlan: fix multiple inclusion of vxlan.h
authorJiri Benc <jbenc@redhat.com>
Tue, 25 Aug 2015 16:36:50 +0000 (18:36 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Aug 2015 21:32:04 +0000 (14:32 -0700)
commit2f5161b9c1f8f89b4c796a9313853ce818478c33
tree32defb5b430fc50644089a6fc0ecec3b37e0b194
parentd9bcffa819ee7decffa1089cd8c1c78020c709dd
vxlan: fix multiple inclusion of vxlan.h

The vxlan_get_sk_family inline function was added after the last #endif,
making multiple inclusion of net/vxlan.h fail. Move it to the proper place.

Reported-by: Mark Rustad <mark.d.rustad@intel.com>
Fixes: fa4e4e27cee0f ("vxlan: provide access function for vxlan socket address family")
Signed-off-by: Jiri Benc <jbenc@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/vxlan.h