commit | d77763dc70c4afa451b33f80013910d502bf3bb7 | [log] [tgz] |
---|---|---|
author | David Ahern <dsahern@gmail.com> | Thu Mar 08 18:36:16 2018 +0000 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Mar 11 16:21:34 2018 +0100 |
tree | eba8edeeb4309c9140e246961197167d44c07939 | |
parent | 9b7d723439a444ea578462f50054641a09c45023 [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>