Re: [PATCH v2 1/3] mpls: Per-device MPLS state

2015-04-22 Thread Eric W. Biederman
Robert Shearman writes: > Add per-device MPLS state to supported interfaces. Use the presence of > this state in mpls_route_add to determine that this is a supported > interface. > > Use the presence of mpls_dev to drop packets that arrived on an > unsupported interface - previously they were all

[PATCH v2 1/3] mpls: Per-device MPLS state

2015-04-22 Thread Robert Shearman
Add per-device MPLS state to supported interfaces. Use the presence of this state in mpls_route_add to determine that this is a supported interface. Use the presence of mpls_dev to drop packets that arrived on an unsupported interface - previously they were allowed through. Cc: "Eric W. Biederman