Eric W. Biederman 76fecd8275 mpls: In mpls_egress verify the packet length.
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@brocade.com>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-03-12 23:05:04 -04:00
..
2015-03-12 14:39:40 -04:00
2015-03-02 16:43:41 -05:00
2015-03-06 21:50:02 -05:00
2015-03-12 22:58:13 -04:00
2015-03-12 22:58:13 -04:00
2015-03-12 22:58:13 -04:00
2015-03-02 16:43:41 -05:00
2015-03-12 14:39:40 -04:00
2015-03-12 14:39:40 -04:00
2015-03-02 16:43:41 -05:00
2015-03-08 12:53:46 -07:00
2014-10-07 20:28:44 -04:00