diff options
author | David Ahern <dsahern@gmail.com> | 2018-03-08 18:36:16 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-11 16:19:47 +0100 |
commit | 4bd01ca7633432694cab0a098dfb9cee7b157512 (patch) | |
tree | c048e172b7956728281c93354e3b90efae1b2542 /kernel/bpf/arraymap.c | |
parent | 54b183ea4fe96c7b80439971ee04cf634a6e0459 (diff) |
net: mpls: Pull common label check into helper
commit b7b386f42f079b25b942c756820e36c6bd09b2ca upstream.
mpls_route_add and mpls_route_del have the same checks on the label.
Move to a helper. Avoid duplicate extack messages in the next patch.
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/bpf/arraymap.c')
0 files changed, 0 insertions, 0 deletions