Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <richard.alpe@ericsson.com>
Acked-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Richard Alpe and committed by
David S. Miller
9bd160bf c9214f50

+1 -1
+1 -1
net/tipc/udp_media.c
··· 53 53 /* IANA assigned UDP port */ 54 54 #define UDP_PORT_DEFAULT 6118 55 55 56 - #define UDP_MIN_HEADROOM 28 56 + #define UDP_MIN_HEADROOM 48 57 57 58 58 /** 59 59 * struct udp_media_addr - IP/UDP addressing information