Re: [PATCH net-next] ip6_gre: Fix MTU setting

2016-05-09 Thread Tom Herbert
On Mon, May 9, 2016 at 4:10 PM, Alexander Duyck wrote: > On Mon, May 9, 2016 at 3:49 PM, Tom Herbert wrote: >> On Mon, May 9, 2016 at 3:44 PM, Alexander Duyck >> wrote: >>> On Mon, May 9, 2016 at 3:28 PM, Tom Herbert wrote: In ip6gre_tnl_link_config set t->tun_len and t->hlen correctly for

Re: [PATCH net-next] ip6_gre: Fix MTU setting

2016-05-09 Thread Alexander Duyck
On Mon, May 9, 2016 at 4:10 PM, Alexander Duyck wrote: > On Mon, May 9, 2016 at 3:49 PM, Tom Herbert wrote: >> On Mon, May 9, 2016 at 3:44 PM, Alexander Duyck >> wrote: >>> On Mon, May 9, 2016 at 3:28 PM, Tom Herbert wrote: In ip6gre_tnl_link_config set t->tun_len and t->hlen correctly for

Re: [PATCH net-next] ip6_gre: Fix MTU setting

2016-05-09 Thread Alexander Duyck
On Mon, May 9, 2016 at 3:49 PM, Tom Herbert wrote: > On Mon, May 9, 2016 at 3:44 PM, Alexander Duyck > wrote: >> On Mon, May 9, 2016 at 3:28 PM, Tom Herbert wrote: >>> In ip6gre_tnl_link_config set t->tun_len and t->hlen correctly for the >>> configuration. For hard_header_len and mtu calculatio

Re: [PATCH net-next] ip6_gre: Fix MTU setting

2016-05-09 Thread Tom Herbert
On Mon, May 9, 2016 at 3:44 PM, Alexander Duyck wrote: > On Mon, May 9, 2016 at 3:28 PM, Tom Herbert wrote: >> In ip6gre_tnl_link_config set t->tun_len and t->hlen correctly for the >> configuration. For hard_header_len and mtu calculation include >> IPv6 header and encapsulation overhead. >> >>

Re: [PATCH net-next] ip6_gre: Fix MTU setting

2016-05-09 Thread Alexander Duyck
On Mon, May 9, 2016 at 3:28 PM, Tom Herbert wrote: > In ip6gre_tnl_link_config set t->tun_len and t->hlen correctly for the > configuration. For hard_header_len and mtu calculation include > IPv6 header and encapsulation overhead. > > In ip6gre_tunnel_init_common set t->tun_len and t->hlen correct

[PATCH net-next] ip6_gre: Fix MTU setting

2016-05-09 Thread Tom Herbert
In ip6gre_tnl_link_config set t->tun_len and t->hlen correctly for the configuration. For hard_header_len and mtu calculation include IPv6 header and encapsulation overhead. In ip6gre_tunnel_init_common set t->tun_len and t->hlen correctly for the configuration. Revert to setting hard_header_len i