提交 9bd160bf 编写于 作者: R Richard Alpe 提交者: David S. Miller

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: NRichard Alpe <richard.alpe@ericsson.com>
Acked-by: NJon Maloy <jon.maloy@ericsson.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 c9214f50
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
/* IANA assigned UDP port */ /* IANA assigned UDP port */
#define UDP_PORT_DEFAULT 6118 #define UDP_PORT_DEFAULT 6118
#define UDP_MIN_HEADROOM 28 #define UDP_MIN_HEADROOM 48
/** /**
* struct udp_media_addr - IP/UDP addressing information * struct udp_media_addr - IP/UDP addressing information
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册