mpls: Prevent use of implicit NULL label as outgoing label
authorRobert Shearman <rshearma@brocade.com>
Wed, 22 Apr 2015 10:14:39 +0000 (11:14 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Apr 2015 18:24:54 +0000 (14:24 -0400)
commit5a9ab0176198d91dfc153f5e6c5fdc5afa613607
treee18ac4586481309da81bc43a30f3677e46a38858
parent37bde79979c3862c79294c62ddcef7efc477e4bf
mpls: Prevent use of implicit NULL label as outgoing label

The reserved implicit-NULL label isn't allowed to appear in the label
stack for packets, so make it an error for the control plane to
specify it as an outgoing label.

Suggested-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Robert Shearman <rshearma@brocade.com>
Reviewed-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mpls/af_mpls.c