tmp_suning_uos_patched/net/mpls
Robert Shearman 03c57747a7 mpls: Per-device MPLS state
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" <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>
2015-04-22 14:24:54 -04:00
..
af_mpls.c mpls: Per-device MPLS state 2015-04-22 14:24:54 -04:00
internal.h mpls: Per-device MPLS state 2015-04-22 14:24:54 -04:00
Kconfig mpls: Allow mpls_gso and mpls_router to be built as modules 2015-03-11 16:38:54 -04:00
Makefile mpls: Allow mpls_gso and mpls_router to be built as modules 2015-03-11 16:38:54 -04:00
mpls_gso.c net: mark some potential candidates __read_mostly 2015-01-30 17:58:39 -08:00