[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20071015.222032.78710839.davem@davemloft.net>
Date: Mon, 15 Oct 2007 22:20:32 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: cfriesen@...tel.com
Cc: shemminger@...ux-foundation.org, netdev@...r.kernel.org
Subject: Re: question on sky2 driver panic
From: "Chris Friesen" <cfriesen@...tel.com>
Date: Mon, 15 Oct 2007 23:16:16 -0600
> Our version of the e1000 passes 200 bytes in the initial chunk, and the
> rest in fragments. tipc currently handles that without any difficulty.
There is no requirement for any bytes to be in the initial skb->data
chunk, in fact the Neptune NIU driver only pulls the ethernet header
into there for example.
net/tipc/eth_media.c:recv_msg() seems to dereference buf->data
directly without making any pskb_may_pull() checks, and that is
a bug.
-
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