Skip to content

Commit 44b3b7e

Browse files
Richard Alpegregkh
authored andcommitted
tipc: make sure IPv6 header fits in skb headroom
commit 9bd160bfa27fa41927dbbce7ee0ea779700e09ef upstream. 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> Signed-off-by: Jon Maloy <jon.maloy@ericsson.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 12f4e1f commit 44b3b7e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

net/tipc/udp_media.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
/* IANA assigned UDP port */
5353
#define UDP_PORT_DEFAULT 6118
5454

55-
#define UDP_MIN_HEADROOM 28
55+
#define UDP_MIN_HEADROOM 48
5656

5757
static const struct nla_policy tipc_nl_udp_policy[TIPC_NLA_UDP_MAX + 1] = {
5858
[TIPC_NLA_UDP_UNSPEC] = {.type = NLA_UNSPEC},

0 commit comments

Comments
 (0)