[PATCH 4.6 073/203] geneve: fix max_mtu setting

2016-07-25 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Haishuang Yan [ Upstream commit d5d5e8d55732c7c35c354e45e3b0af2795978a57 ] For ipv6+udp+geneve encapsulation data, the max_mtu should subtract

[PATCH 4.6 073/203] geneve: fix max_mtu setting

2016-07-25 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Haishuang Yan [ Upstream commit d5d5e8d55732c7c35c354e45e3b0af2795978a57 ] For ipv6+udp+geneve encapsulation data, the max_mtu should subtract sizeof(ipv6hdr), instead of sizeof(iphdr).