WSL2-Linux-Kernel/net/mpls
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
..
Kconfig mpls: Allow mpls_gso and mpls_router to be built as modules 2015-03-11 16:38:54 -04:00
Makefile mpls: Allow mpls_gso and mpls_router to be built as modules 2015-03-11 16:38:54 -04:00
af_mpls.c mpls: In mpls_egress verify the packet length. 2015-03-12 23:05:04 -04:00
internal.h mpls: Functions for reading and wrinting mpls labels over netlink 2015-03-04 00:26:06 -05:00
mpls_gso.c net: mark some potential candidates __read_mostly 2015-01-30 17:58:39 -08:00