diff options
author | David Ahern | 2017-03-31 16:14:03 +0200 |
---|---|---|
committer | David S. Miller | 2017-04-02 05:21:44 +0200 |
commit | a4ac8c986d3f72ccbaf6d6782511fb645e568306 (patch) | |
tree | 7b0a525484b6ed0a7adca3bc4f3848f5f3aa37d1 /kernel/kprobes.c | |
parent | net: mpls: Limit memory allocation for mpls_route (diff) | |
download | kernel-qcow2-linux-a4ac8c986d3f72ccbaf6d6782511fb645e568306.tar.gz kernel-qcow2-linux-a4ac8c986d3f72ccbaf6d6782511fb645e568306.tar.xz kernel-qcow2-linux-a4ac8c986d3f72ccbaf6d6782511fb645e568306.zip |
net: mpls: bump maximum number of labels
Allow users to push down more labels per MPLS route. With the previous
patches, no memory allocations are based on MAX_NEW_LABELS; the limit
is only used to keep userspace in check.
At this point MAX_NEW_LABELS is only used for mpls_route_config (copying
route data from userspace) and processing nexthops looking for the max
number of labels across the route spec.
Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/kprobes.c')
0 files changed, 0 insertions, 0 deletions