diff options
author | Richard Alpe <richard.alpe@ericsson.com> | 2016-03-14 09:43:52 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-14 12:23:12 -0400 |
commit | 9bd160bfa27fa41927dbbce7ee0ea779700e09ef (patch) | |
tree | 02e68ceacfecad9ed70d9a2864d30e9f00568282 /net/tipc/udp_media.c | |
parent | c9214f50a2b24f7de92752fd2c2358520bb84f9f (diff) | |
download | linux-9bd160bfa27fa41927dbbce7ee0ea779700e09ef.tar.gz linux-9bd160bfa27fa41927dbbce7ee0ea779700e09ef.tar.bz2 linux-9bd160bfa27fa41927dbbce7ee0ea779700e09ef.zip |
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>
Diffstat (limited to 'net/tipc/udp_media.c')
-rw-r--r-- | net/tipc/udp_media.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |