aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/cls_basic.c
diff options
context:
space:
mode:
authorIdo Schimmel <[email protected]>2017-08-03 11:28:30 +0000
committerDavid S. Miller <[email protected]>2017-08-03 22:36:01 +0000
commitf36f5ac677d184a62404169c781339c0cc64ea87 (patch)
tree8484539919d7c58a2779386beb6ec4772c0eda61 /net/sched/cls_basic.c
parentmlxsw: spectrum_router: Add support for route replace (diff)
downloadkernel-f36f5ac677d184a62404169c781339c0cc64ea87.tar.gz
kernel-f36f5ac677d184a62404169c781339c0cc64ea87.zip
mlxsw: spectrum_router: Abort on source-specific routes
Without resorting to ACLs, the device performs route lookup solely based on the destination IP address. In case source-specific routing is needed, an error is returned and the abort mechanism is activated, thus allowing the kernel to take over forwarding decisions. Instead of aborting, we can trap specific destination prefixes where source-specific routes are present, but this will result in a lot more code that is unlikely to ever be used. Signed-off-by: Ido Schimmel <[email protected]> Signed-off-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/sched/cls_basic.c')
0 files changed, 0 insertions, 0 deletions