[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20150312.230518.609381926355395030.davem@davemloft.net>
Date: Thu, 12 Mar 2015 23:05:18 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: ebiederm@...ssion.com
Cc: rshearma@...cade.com, netdev@...r.kernel.org
Subject: Re: [PATCH net-next ] mpls: In mpls_egress verify the packet
length.
From: ebiederm@...ssion.com (Eric W. Biederman)
Date: Thu, 12 Mar 2015 18:22:59 -0500
>
> Reobert Shearman noticed that mpls_egress is failing to verify that
> the bytes to be examined are in fact present in the packet before
> mpls_egress reads those bytes.
>
> As suggested by David Miller reduce this to a single pskb_may_pull
> call so that we don't do unnecessary work in the fast path.
>
> Reported-by: Robert Shearman <rshearma@...cade.com>
> Signed-off-by: "Eric W. Biederman" <ebiederm@...ssion.com>
Perfect, applied, thanks!
--
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