aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorEric W. Biederman <[email protected]>2015-03-12 23:22:59 +0000
committerDavid S. Miller <[email protected]>2015-03-13 03:05:04 +0000
commit76fecd8275be6de76513430e7526825944ab932f (patch)
treec04917753aa8f8cd07d54140c9580af45c7f5dd8 /net/switchdev/switchdev.c
parentnet/macb: Only adjust tx_clk on link change (diff)
downloadkernel-76fecd8275be6de76513430e7526825944ab932f.tar.gz
kernel-76fecd8275be6de76513430e7526825944ab932f.zip
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 <[email protected]> Signed-off-by: "Eric W. Biederman" <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions