aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/cls_basic.c
diff options
context:
space:
mode:
authorIdo Schimmel <[email protected]>2017-08-03 11:28:29 +0000
committerDavid S. Miller <[email protected]>2017-08-03 22:36:01 +0000
commit0a7fd1ac2a6b316ceeb9a57a41ce0c45f6bff549 (patch)
treec74d9f3f28f74ce4772bf96611c5a90b94ce029a /net/sched/cls_basic.c
parentmlxsw: spectrum_router: Add support for IPv6 routes addition / deletion (diff)
downloadkernel-0a7fd1ac2a6b316ceeb9a57a41ce0c45f6bff549.tar.gz
kernel-0a7fd1ac2a6b316ceeb9a57a41ce0c45f6bff549.zip
mlxsw: spectrum_router: Add support for route replace
In case we got a replace event, then the replaced route must exist. If the route isn't capable of multipath, then replace first matching non-multipath capable route. If the route is capable of multipath and matching multipath capable route is found, then replace it. Otherwise, replace first matching non-multipath capable route. The new route is inserted before the replaced one. In case the replaced route is currently offloaded, then it's overwritten in the device's table by the new route and later deleted, thus not impacting routed traffic. 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