diff mbox

[net-next] udp: Need to make ip6_udp_tunnel.c have GPL license

Message ID 1411411184-11993-1-git-send-email-therbert@google.com
State Accepted, archived
Delegated to: David Miller
Headers show

Commit Message

Tom Herbert Sept. 22, 2014, 6:39 p.m. UTC
Unable to load various tunneling modules without this:

[   80.679049] fou: Unknown symbol udp_sock_create6 (err 0)
[   91.439939] ip6_udp_tunnel: Unknown symbol ip6_local_out (err 0)
[   91.439954] ip6_udp_tunnel: Unknown symbol __put_net (err 0)
[   91.457792] vxlan: Unknown symbol udp_sock_create6 (err 0)
[   91.457831] vxlan: Unknown symbol udp_tunnel6_xmit_skb (err 0)

Signed-off-by: Tom Herbert <therbert@google.com>
---
 net/ipv6/ip6_udp_tunnel.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

David Miller Sept. 22, 2014, 7:08 p.m. UTC | #1
From: Tom Herbert <therbert@google.com>
Date: Mon, 22 Sep 2014 11:39:44 -0700

> Unable to load various tunneling modules without this:
> 
> [   80.679049] fou: Unknown symbol udp_sock_create6 (err 0)
> [   91.439939] ip6_udp_tunnel: Unknown symbol ip6_local_out (err 0)
> [   91.439954] ip6_udp_tunnel: Unknown symbol __put_net (err 0)
> [   91.457792] vxlan: Unknown symbol udp_sock_create6 (err 0)
> [   91.457831] vxlan: Unknown symbol udp_tunnel6_xmit_skb (err 0)
> 
> Signed-off-by: Tom Herbert <therbert@google.com>

Applied, thanks Tom.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Tom Herbert Sept. 22, 2014, 8:17 p.m. UTC | #2
Andy, even with the is patch I still can't get VXLAN to work again. I
am assuming this is a problem related to the common UDP tunnel
functions. I haven't had time to look into it in depth, can you verify
if there is an issue.

Thanks,
Tom


On Mon, Sep 22, 2014 at 12:08 PM, David Miller <davem@davemloft.net> wrote:
> From: Tom Herbert <therbert@google.com>
> Date: Mon, 22 Sep 2014 11:39:44 -0700
>
>> Unable to load various tunneling modules without this:
>>
>> [   80.679049] fou: Unknown symbol udp_sock_create6 (err 0)
>> [   91.439939] ip6_udp_tunnel: Unknown symbol ip6_local_out (err 0)
>> [   91.439954] ip6_udp_tunnel: Unknown symbol __put_net (err 0)
>> [   91.457792] vxlan: Unknown symbol udp_sock_create6 (err 0)
>> [   91.457831] vxlan: Unknown symbol udp_tunnel6_xmit_skb (err 0)
>>
>> Signed-off-by: Tom Herbert <therbert@google.com>
>
> Applied, thanks Tom.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Andy Zhou Sept. 23, 2014, 7 p.m. UTC | #3
Yes, it is a bug in the Vxlan transmit code. I have sent out a patch
a while ago.  Would you please give it try?

https://patchwork.ozlabs.org/patch/392275/

Thanks for letting me know and the help to reproduce the bug off list.

Andy

On Mon, Sep 22, 2014 at 1:17 PM, Tom Herbert <therbert@google.com> wrote:
> Andy, even with the is patch I still can't get VXLAN to work again. I
> am assuming this is a problem related to the common UDP tunnel
> functions. I haven't had time to look into it in depth, can you verify
> if there is an issue.
>
> Thanks,
> Tom
>
>
> On Mon, Sep 22, 2014 at 12:08 PM, David Miller <davem@davemloft.net> wrote:
>> From: Tom Herbert <therbert@google.com>
>> Date: Mon, 22 Sep 2014 11:39:44 -0700
>>
>>> Unable to load various tunneling modules without this:
>>>
>>> [   80.679049] fou: Unknown symbol udp_sock_create6 (err 0)
>>> [   91.439939] ip6_udp_tunnel: Unknown symbol ip6_local_out (err 0)
>>> [   91.439954] ip6_udp_tunnel: Unknown symbol __put_net (err 0)
>>> [   91.457792] vxlan: Unknown symbol udp_sock_create6 (err 0)
>>> [   91.457831] vxlan: Unknown symbol udp_tunnel6_xmit_skb (err 0)
>>>
>>> Signed-off-by: Tom Herbert <therbert@google.com>
>>
>> Applied, thanks Tom.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/net/ipv6/ip6_udp_tunnel.c b/net/ipv6/ip6_udp_tunnel.c
index cbc9907..b04ed72 100644
--- a/net/ipv6/ip6_udp_tunnel.c
+++ b/net/ipv6/ip6_udp_tunnel.c
@@ -103,3 +103,5 @@  int udp_tunnel6_xmit_skb(struct socket *sock, struct dst_entry *dst,
 	return 0;
 }
 EXPORT_SYMBOL_GPL(udp_tunnel6_xmit_skb);
+
+MODULE_LICENSE("GPL");