[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100901.133547.236248297.davem@davemloft.net>
Date: Wed, 01 Sep 2010 13:35:47 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: davej@...hat.com
Cc: simon.kagstrom@...insight.net, netdev@...r.kernel.org
Subject: Re: via-velocity dma-debug warnings again. (2.6.35.2)
From: David Miller <davem@...emloft.net>
Date: Wed, 01 Sep 2010 13:34:14 -0700 (PDT)
> Ugh, while writing this I spotted another bug. It can't do this
> ETH_ZLEN thing, it has to use skb_padto(). Otherwise it's just
> transmitting arbitrary kernel memory at the end of the SKB
> buffer onto the network which is a big no-no. I'll fix that
> with another patch.
Actually, these ETH_ZLEN things in the length calculation can
just be deleted. It does in fact use skb_padto() properly earlier
in the xmit function.
--
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