net: mpls: Limit memory allocation for mpls_route
authorDavid Ahern <dsa@cumulusnetworks.com>
Fri, 31 Mar 2017 14:14:02 +0000 (07:14 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 2 Apr 2017 03:21:44 +0000 (20:21 -0700)
commitdf1c631648c55bfb247339279f9bc573c7f283f4
tree36331f8cb12be21d9992f6115e64f339ecc80a40
parent59b209667a3bef240ca5da111ce1931f29fa179f
net: mpls: Limit memory allocation for mpls_route

Limit memory allocation size for mpls_route to 4096.

Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mpls/af_mpls.c