]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit61296fa88a368f8473a69f969eb5919219be5ad8
treee18ac4586481309da81bc43a30f3677e46a38858
parent819a2a35fe28005494fc1cafcd2c373aedaa145a
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