Re: [PATCH net-next] vxlan: fix multiple inclusion of vxlan.h

2015-08-25 Thread David Miller
From: Jiri Benc Date: Tue, 25 Aug 2015 18:36:50 +0200 > 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 > Fixes: 705cc62f6728c ("vxlan: provide access function for

Re: [PATCH net-next] vxlan: fix multiple inclusion of vxlan.h

2015-08-25 Thread Cong Wang
On Tue, Aug 25, 2015 at 9:36 AM, Jiri Benc wrote: > 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. > Or move it even further into #if IS_ENABLED(CONFIG_VXLAN) ? -- To unsubscribe from this list

[PATCH net-next] vxlan: fix multiple inclusion of vxlan.h

2015-08-25 Thread Jiri Benc
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 Fixes: 705cc62f6728c ("vxlan: provide access function for vxlan socket address family") Signed-off-by: Jiri Benc --- inc