[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170119.113759.555556955190770932.davem@davemloft.net>
Date: Thu, 19 Jan 2017 11:37:59 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: sowmini.varadhan@...cle.com
Cc: Paul.Durrant@...rix.com, konrad.wilk@...cle.com,
wei.liu2@...rix.com, netdev@...r.kernel.org,
xen-devel@...ts.xenproject.org
Subject: Re: [Xen-devel] xennet_start_xmit assumptions
From: Sowmini Varadhan <sowmini.varadhan@...cle.com>
Date: Thu, 19 Jan 2017 06:14:26 -0500
> I'll probably work on fixing packet_snd to return -EINVAL
> or similar when the len is zero this week.
I thought we had code which made sure that at least a minimal
link layer header was present in the SKB?
Specifically I'm talking about the dev_validate_header() check.
That is supposed to protect us from these kinds of situations.
Powered by blists - more mailing lists