stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marc Kleine-Budde <mkl@pengutronix.de>
To: Sasha Levin <sasha.levin@oracle.com>,
	stable@vger.kernel.org, stable-commits@vger.kernel.org
Cc: Oliver Hartkopp <socketcan@hartkopp.net>
Subject: Re: [added to the 3.18 stable tree] can: fix loss of CAN frames in raw_rcv
Date: Mon, 13 Jul 2015 15:54:36 +0200	[thread overview]
Message-ID: <55A3C31C.1000603@pengutronix.de> (raw)
In-Reply-To: <1436795065-27444-9-git-send-email-sasha.levin@oracle.com>

[-- Attachment #1: Type: text/plain, Size: 2363 bytes --]

On 07/13/2015 03:43 PM, Sasha Levin wrote:
> From: Oliver Hartkopp <socketcan@hartkopp.net>
> 
> This patch has been added to the 3.18 stable tree. If you have any
> objections, please let us know.
> 
> ===============
> 
> [ Upstream commit 36c01245eb8046c16eee6431e7dbfbb302635fa8 ]
> 
> As reported by Manfred Schlaegl here
> 
>    http://marc.info/?l=linux-netdev&m=143482089824232&w=2
> 
> commit 514ac99c64b "can: fix multiple delivery of a single CAN frame for
> overlapping CAN filters" requires the skb->tstamp to be set to check for
> identical CAN skbs.
> 
> As net timestamping is influenced by several players (netstamp_needed and
> netdev_tstamp_prequeue) Manfred missed a proper timestamp which leads to
> CAN frame loss.
> 
> As skb timestamping became now mandatory for CAN related skbs this patch
> makes sure that received CAN skbs always have a proper timestamp set.
> Maybe there's a better solution in the future but this patch fixes the
> CAN frame loss so far.
> 
> Reported-by: Manfred Schlaegl <manfred.schlaegl@gmx.at>
> Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
> Cc: linux-stable <stable@vger.kernel.org>
> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
> Signed-off-by: Sasha Levin <sasha.levin@oracle.com>

You and Oliver decided that this is not relevant for 3.18...See Oliver's
mail:

> this patch fixes commit 514ac99c64b "can: fix multiple delivery of a single 
> CAN frame for overlapping CAN filters" which is currently not on your list for 
> 3.18.
> 
> Indeed I would suggest to omit either commit 514ac99c64b and the patch below 
> for 3.18 stable.
> 
> Commit 514ac99c64b changes the number of returned frames in some cases and by 
> now developers can trust on the fact that this behaviour change comes with 
> Linux 4.1.
> 
> So nothing breaks when we omit commit 514ac99c64b and 36c01245eb804 for 3.18.
> 
> The fact that the patch below emerged on the stable ML is that it is relevant 
> for 4.1 which was released in this phase.

Or have I missed something?

Marc

-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 455 bytes --]

  reply	other threads:[~2015-07-13 13:54 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-13 13:43 [added to the 3.18 stable tree] mnt: Refactor the logic for mounting sysfs and proc in a user namespace Sasha Levin
2015-07-13 13:43 ` [added to the 3.18 stable tree] tty/serial: at91: RS485 mode: 0 is valid for delay_rts_after_send Sasha Levin
2015-07-13 13:43 ` [added to the 3.18 stable tree] mnt: Modify fs_fully_visible to deal with locked ro nodev and atime Sasha Levin
2015-07-13 13:43 ` [added to the 3.18 stable tree] kprobes/x86: Return correct length in __copy_instruction() Sasha Levin
2015-07-13 13:43 ` [added to the 3.18 stable tree] config: Enable NEED_DMA_MAP_STATE by default when SWIOTLB is selected Sasha Levin
2015-07-13 13:43 ` [added to the 3.18 stable tree] netfilter: nfnetlink_cthelper: Remove 'const' and '&' to avoid warnings Sasha Levin
2015-07-13 13:43 ` [added to the 3.18 stable tree] fs/ufs: revert "ufs: fix deadlocks introduced by sb mutex merge" Sasha Levin
2015-07-13 13:43 ` [added to the 3.18 stable tree] fs/ufs: restore s_lock mutex Sasha Levin
2015-07-13 13:43 ` [added to the 3.18 stable tree] can: fix loss of CAN frames in raw_rcv Sasha Levin
2015-07-13 13:54   ` Marc Kleine-Budde [this message]
2015-07-13 15:53     ` Sasha Levin
2015-07-13 13:43 ` [added to the 3.18 stable tree] fs: Fix S_NOSEC handling Sasha Levin
2015-07-13 13:43 ` [added to the 3.18 stable tree] tracing: Have filter check for balanced ops Sasha Levin
2015-07-13 13:44 ` [added to the 3.18 stable tree] sb_edac: Fix erroneous bytes->gigabytes conversion Sasha Levin
2015-07-13 13:44 ` [added to the 3.18 stable tree] netfilter: Zero the tuple in nfnl_cthelper_parse_tuple() Sasha Levin
2015-07-13 13:44 ` [added to the 3.18 stable tree] netfilter: nft_compat: set IP6T_F_PROTO flag if protocol is set Sasha Levin
2015-07-13 13:44 ` [added to the 3.18 stable tree] netfilter: nf_tables: allow to change chain policy without hook if it exists Sasha Levin
2015-07-13 13:44 ` [added to the 3.18 stable tree] x86/microcode/intel: Guard against stack overflow in the loader Sasha Levin
2015-07-13 13:44 ` [added to the 3.18 stable tree] Btrfs: make xattr replace operations atomic Sasha Levin
2015-07-13 13:44 ` [added to the 3.18 stable tree] ARM: clk-imx6q: refine sata's parent Sasha Levin
2015-07-13 13:44 ` [added to the 3.18 stable tree] KVM: nSVM: Check for NRIPS support before updating control field Sasha Levin
2015-07-13 13:44 ` [added to the 3.18 stable tree] arm64/kvm: Fix assembler compatibility of macros Sasha Levin
2015-07-13 13:44 ` [added to the 3.18 stable tree] iommu/amd: Handle large pages correctly in free_pagetable Sasha Levin
2015-07-13 13:44 ` [added to the 3.18 stable tree] arm: KVM: force execution of HCPTR access on VM exit Sasha Levin
2015-07-13 13:44 ` [added to the 3.18 stable tree] KVM: x86: make vapics_in_nmi_mode atomic Sasha Levin
2015-07-13 13:44 ` [added to the 3.18 stable tree] vfs: Remove incorrect debugging WARN in prepend_path Sasha Levin
2015-07-13 13:44 ` [added to the 3.18 stable tree] x86/boot: Fix overflow warning with 32-bit binutils Sasha Levin
2015-07-13 13:44 ` [added to the 3.18 stable tree] perf: Fix ring_buffer_attach() RCU sync, again Sasha Levin
2015-07-13 13:44 ` [added to the 3.18 stable tree] perf/x86: Honor the architectural performance monitoring version Sasha Levin
2015-07-13 13:44 ` [added to the 3.18 stable tree] ARM: dts: sunxi: Adjust touchscreen compatible for sun5i and later Sasha Levin
2015-07-19 10:43   ` Hans de Goede
2015-07-21  1:14     ` Sasha Levin
2015-07-13 13:44 ` [added to the 3.18 stable tree] usb: gadget: f_fs: add extra check before unregister_gadget_item Sasha Levin
2015-07-13 13:44 ` [added to the 3.18 stable tree] selinux: fix setting of security labels on NFS Sasha Levin
2015-07-13 13:44 ` [added to the 3.18 stable tree] KVM: s390: virtio-ccw: don't overwrite config space values Sasha Levin
2015-07-13 13:44 ` [added to the 3.18 stable tree] KVM: x86: properly restore LVT0 Sasha Levin
2015-07-13 13:44 ` [added to the 3.18 stable tree] vfs: Ignore unlocked mounts in fs_fully_visible Sasha Levin
2015-07-13 13:44 ` [added to the 3.18 stable tree] ufs: Fix warning from unlock_new_inode() Sasha Levin
2015-07-13 13:44 ` [added to the 3.18 stable tree] ufs: Fix possible deadlock when looking up directories Sasha Levin
2015-07-13 13:44 ` [added to the 3.18 stable tree] fs/ufs: restore s_lock mutex_init() Sasha Levin
2015-07-13 13:44 ` [added to the 3.18 stable tree] Revert "nfs: take extra reference to fl->fl_file when running a LOCKU operation" Sasha Levin
  -- strict thread matches above, loose matches on Subject: below --
2015-07-04  3:00 [added to the 3.18 stable tree] ata: ahci_mvebu: Fix wrongly set base address for the MBus window setting Sasha Levin
2015-07-04  3:02 ` [added to the 3.18 stable tree] can: fix loss of CAN frames in raw_rcv Sasha Levin
2015-07-04 15:35   ` Oliver Hartkopp
2015-07-05 14:28     ` Sasha Levin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55A3C31C.1000603@pengutronix.de \
    --to=mkl@pengutronix.de \
    --cc=sasha.levin@oracle.com \
    --cc=socketcan@hartkopp.net \
    --cc=stable-commits@vger.kernel.org \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).