[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20090106.110801.170679549.davem@davemloft.net>
Date: Tue, 06 Jan 2009 11:08:01 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: oliver@...tkopp.net
Cc: urs.thuermann@...kswagen.de, netdev@...r.kernel.org
Subject: Re: [RESEND] can: omit unneeded skb_clone() calls
From: Oliver Hartkopp <oliver@...tkopp.net>
Date: Tue, 06 Jan 2009 11:18:54 +0100
> The AF_CAN core delivered always cloned sk_buffs to the AF_CAN
> protocols, although this was _only_ needed by the can-raw protocol.
> With this (additionally documented) change, the AF_CAN core calls the
> callback functions of the registered AF_CAN protocols with the original
> (uncloned) sk_buff pointer and let's the can-raw protocol do the
> skb_clone() itself which omits all unneeded skb_clone() calls for other
> AF_CAN protocols.
>
> Signed-off-by: Oliver Hartkopp <oliver@...tkopp.net>
> Signed-off-by: Urs Thuermann <urs.thuermann@...kswagen.de>
Applied.
--
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