From: Richard Alpe Date: Mon, 14 Mar 2016 08:43:52 +0000 (+0100) Subject: tipc: make sure IPv6 header fits in skb headroom X-Git-Tag: v4.6-rc1~91^2~59 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=9bd160bfa27fa41927dbbce7ee0ea779700e09ef;p=karo-tx-linux.git tipc: make sure IPv6 header fits in skb headroom Expand headroom further in order to be able to fit the larger IPv6 header. Prior to this patch this caused a skb under panic for certain tipc packets when using IPv6 UDP bearer(s). Signed-off-by: Richard Alpe Acked-by: Jon Maloy Signed-off-by: David S. Miller --- diff --git a/net/tipc/udp_media.c b/net/tipc/udp_media.c index c94f9a15e2cd..c9cf2be3674a 100644 --- a/net/tipc/udp_media.c +++ b/net/tipc/udp_media.c @@ -53,7 +53,7 @@ /* IANA assigned UDP port */ #define UDP_PORT_DEFAULT 6118 -#define UDP_MIN_HEADROOM 28 +#define UDP_MIN_HEADROOM 48 /** * struct udp_media_addr - IP/UDP addressing information