* Patch "ppp: call skb_checksum_complete_unset in ppp_receive_frame" has been added to the 4.0-stable tree
@ 2015-04-29 10:12 gregkh
0 siblings, 0 replies; only message in thread
From: gregkh @ 2015-04-29 10:12 UTC (permalink / raw)
To: tom, davem, gregkh; +Cc: stable, stable-commits
This is a note to let you know that I've just added the patch titled
ppp: call skb_checksum_complete_unset in ppp_receive_frame
to the 4.0-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:
ppp-call-skb_checksum_complete_unset-in-ppp_receive_frame.patch
and it can be found in the queue-4.0 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 foo@baz Wed Apr 29 11:59:49 CEST 2015
From: Tom Herbert <tom@herbertland.com>
Date: Mon, 20 Apr 2015 14:10:05 -0700
Subject: ppp: call skb_checksum_complete_unset in ppp_receive_frame
From: Tom Herbert <tom@herbertland.com>
[ Upstream commit 3dfb05340ec6676e6fc71a9ae87bbbe66d3c2998 ]
Call checksum_complete_unset in PPP receive to discard checksum-complete
value. PPP does not pull checksum for headers and also modifies packet
as in VJ compression.
Signed-off-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
drivers/net/ppp/ppp_generic.c | 1 +
1 file changed, 1 insertion(+)
--- a/drivers/net/ppp/ppp_generic.c
+++ b/drivers/net/ppp/ppp_generic.c
@@ -1716,6 +1716,7 @@ ppp_receive_frame(struct ppp *ppp, struc
{
/* note: a 0-length skb is used as an error indication */
if (skb->len > 0) {
+ skb_checksum_complete_unset(skb);
#ifdef CONFIG_PPP_MULTILINK
/* XXX do channel-level decompression here */
if (PPP_PROTO(skb) == PPP_MP)
Patches currently in stable-queue which might be from tom@herbertland.com are
queue-4.0/net-rfs-fix-crash-in-get_rps_cpus.patch
queue-4.0/ppp-call-skb_checksum_complete_unset-in-ppp_receive_frame.patch
queue-4.0/net-add-skb_checksum_complete_unset.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-04-29 10:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-29 10:12 Patch "ppp: call skb_checksum_complete_unset in ppp_receive_frame" has been added to the 4.0-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).