1. 20 9月, 2017 1 次提交
  2. 17 9月, 2017 1 次提交
  3. 04 9月, 2017 15 次提交
  4. 02 9月, 2017 2 次提交
    • I
      mlxsw: spectrum_router: Set abort trap in all virtual routers · 241bc859
      Ido Schimmel 提交于
      When the abort mechanism is invoked a default route directing packets to
      the CPU is programmed in all the virtual routers currently in use. This
      can result in packet loss in case a new VRF is configured.
      
      Upon abort, program the default route in all virtual routers, whether
      they are in use or not.
      
      The patch is directed at net-next since post-abort fixes aren't critical
      and packet loss due to a missing default route will be insignificant
      compared to packet loss caused by the CPU port policer.
      Signed-off-by: NIdo Schimmel <idosch@mellanox.com>
      Signed-off-by: NJiri Pirko <jiri@mellanox.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      241bc859
    • I
      mlxsw: spectrum_router: Trap packets hitting anycast routes · d3b6d377
      Ido Schimmel 提交于
      I relied on the fact that anycast routes use the loopback device as
      their nexthop device to trap packets hitting them to the CPU.
      
      After commit 4832c30d ("net: ipv6: put host and anycast routes on
      device with address") this is no longer the case and such routes are
      programmed with a forward action (note the 'offload' flag):
      
      anycast cafe:: dev enp3s0np7 proto kernel metric 0 offload pref medium
      
      This will prevent the router from locally receiving packets destined to
      the Subnet-Router anycast address.
      
      Fix this by specifically programming anycast routes with action trap,
      which results in the following output:
      
      anycast cafe:: dev enp3s0np7 proto kernel metric 0 pref medium
      
      Fixes: 4832c30d ("net: ipv6: put host and anycast routes on device with address")
      Signed-off-by: NIdo Schimmel <idosch@mellanox.com>
      Signed-off-by: NJiri Pirko <jiri@mellanox.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      d3b6d377
  5. 01 9月, 2017 3 次提交
  6. 25 8月, 2017 3 次提交
  7. 16 8月, 2017 2 次提交
  8. 15 8月, 2017 5 次提交
  9. 04 8月, 2017 8 次提交