[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140130.162723.1124545320708055175.davem@davemloft.net>
Date: Thu, 30 Jan 2014 16:27:23 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: socketcan@...tkopp.net
Cc: eric.dumazet@...il.com, nautsch2@...il.com, netdev@...r.kernel.org,
linux-can@...r.kernel.org
Subject: Re: [PATCH stable 3.9+] can: add destructor for self generated skbs
From: Oliver Hartkopp <socketcan@...tkopp.net>
Date: Thu, 30 Jan 2014 10:11:28 +0100
> Self generated skbuffs in net/can/bcm.c are setting a skb->sk reference but
> no explicit destructor which is enforced since Linux 3.11 with commit
> 376c7311bdb6 (net: add a temporary sanity check in skb_orphan()).
>
> This patch adds some helper functions to make sure that a destructor is
> properly defined when a sock reference is assigned to a CAN related skb.
> To create an unshared skb owned by the original sock a common helper function
> has been introduced to replace open coded functions to create CAN echo skbs.
>
> Signed-off-by: Oliver Hartkopp <socketcan@...tkopp.net>
> Tested-by: Andre Naujoks <nautsch2@...il.com>
Applied and queued up for -stable, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists