[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190104090143.GD28932@unicorn.suse.cz>
Date: Fri, 4 Jan 2019 10:01:43 +0100
From: Michal Kubecek <mkubecek@...e.cz>
To: Oliver Hartkopp <socketcan@...tkopp.net>
Cc: davem@...emloft.net, netdev@...r.kernel.org,
ieatmuttonchuan@...il.com, meissner@...e.de,
linux-can@...r.kernel.org, linux-stable <stable@...r.kernel.org>
Subject: Re: [PATCH] can: gw: ensure DLC boundaries after CAN frame
modification
On Thu, Jan 03, 2019 at 10:03:47PM +0100, Oliver Hartkopp wrote:
> 1. I'm still using the test "if (cf->can_dlc > 8)" with a proper comment as
> CAN_MAX_DLC and CAN_MAX_DLEN are not defined in Linux stable 3.2 - so that
> we can apply the patch to all versions of gw.c
I may be biased as substantial part of my work consists of trying to
understand unfamiliar code written by other people but I believe
readability of the code is more important than avoiding a bit of work
with backport to older stable branches.
Michal Kubecek
Powered by blists - more mailing lists