stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Patch "tipc: make sure IPv6 header fits in skb headroom" has been added to the 4.4-stable tree
@ 2017-04-27 10:21 gregkh
  0 siblings, 0 replies; only message in thread
From: gregkh @ 2017-04-27 10:21 UTC (permalink / raw)
  To: richard.alpe, davem, gregkh, jon.maloy; +Cc: stable, stable-commits


This is a note to let you know that I've just added the patch titled

    tipc: make sure IPv6 header fits in skb headroom

to the 4.4-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     tipc-make-sure-ipv6-header-fits-in-skb-headroom.patch
and it can be found in the queue-4.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@vger.kernel.org> know about it.


>From 9bd160bfa27fa41927dbbce7ee0ea779700e09ef Mon Sep 17 00:00:00 2001
From: Richard Alpe <richard.alpe@ericsson.com>
Date: Mon, 14 Mar 2016 09:43:52 +0100
Subject: tipc: make sure IPv6 header fits in skb headroom

From: Richard Alpe <richard.alpe@ericsson.com>

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>

---
 net/tipc/udp_media.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/net/tipc/udp_media.c
+++ b/net/tipc/udp_media.c
@@ -52,7 +52,7 @@
 /* IANA assigned UDP port */
 #define UDP_PORT_DEFAULT	6118
 
-#define UDP_MIN_HEADROOM        28
+#define UDP_MIN_HEADROOM        48
 
 static const struct nla_policy tipc_nl_udp_policy[TIPC_NLA_UDP_MAX + 1] = {
 	[TIPC_NLA_UDP_UNSPEC]	= {.type = NLA_UNSPEC},


Patches currently in stable-queue which might be from richard.alpe@ericsson.com are

queue-4.4/tipc-make-sure-ipv6-header-fits-in-skb-headroom.patch

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-04-27 10:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-27 10:21 Patch "tipc: make sure IPv6 header fits in skb headroom" has been added to the 4.4-stable tree gregkh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).