summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorDavid Ahern2017-03-31 16:14:03 +0200
committerDavid S. Miller2017-04-02 05:21:44 +0200
commita4ac8c986d3f72ccbaf6d6782511fb645e568306 (patch)
tree7b0a525484b6ed0a7adca3bc4f3848f5f3aa37d1 /virt
parentnet: mpls: Limit memory allocation for mpls_route (diff)
downloadkernel-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 'virt')
0 files changed, 0 insertions, 0 deletions