From: Samuel Ortiz <[EMAIL PROTECTED]> Date: Mon, 15 Jan 2007 11:15:11 +0200
> Since we stop using dev_alloc_skb on the IrDA TX frame, we constantly run > into the case of the skb headroom being 0, and thus we call skb_cow for > every IrDA TX frame. > This patch uses a local buffer and memcpy the skb to it, saving us a > kmalloc for each of those IrDA TX frames. > > Signed-off-by: Samuel Ortiz <[EMAIL PROTECTED]> Applied, thanks. Technically this is a bug fix too because once an SKB hits the transmit function it should essentially be immutable, ie. you shouldn't be writing to it. tcpdump sniffers could be looking at the SKB, as one example. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html