1. 17 May, 2021 4 commits
  2. 13 May, 2021 2 commits
  3. 12 May, 2021 2 commits
  4. 11 May, 2021 4 commits
  5. 10 May, 2021 1 commit
  6. 02 May, 2021 1 commit
  7. 29 Apr, 2021 3 commits
  8. 28 Apr, 2021 9 commits
  9. 27 Apr, 2021 1 commit
  10. 26 Apr, 2021 1 commit
  11. 23 Apr, 2021 4 commits
  12. 21 Apr, 2021 7 commits
    • Alexey's avatar
      user: tor: Add disable-unittests option · a3507b0c
      Alexey authored
      a3507b0c
    • Alexey's avatar
      user: iproute2: backport: ip rule: add route suppression options · c093f4a6
      Alexey authored
      
      
      When configuring a system with multiple network uplinks and default routes, it
      is often convenient to reference a routing table multiple times - but reject
      its routing decision if certain constraints are not met by it.
      
      Consider this setup:
      
      $ ip route add table secuplink default via 10.42.23.1
      
      $ ip rule add pref 100            table main suppress_prefixlength 0
      $ ip rule add pref 150 fwmark 0xA table secuplink
      
      With this setup, packets marked 0xA will be processed by the additional routing
      table "secuplink", but only if no suitable route in the main routing table can
      be found. By suppressing entries with a prefixlength of 0 (or less), the
      default route (/0) of the table "main" is hidden to packets processed by rule
      100; packets traveling to destinations via more specific routes are processed
      as usual.
      
      It is also possible to suppress a routing entry if a device belonging to
      a specific interface group is to be used:
      
      $ ip rule add pref 150 table main suppress_group 1
      Signed-off-by: default avatarStefan Tomanek <stefan.tomanek@wertarbyte.de>
      c093f4a6
    • Stefan Tomanek's avatar
      kernel: fib_rules: fix suppressor names and default values · 86711786
      Stefan Tomanek authored and Alexey's avatar Alexey committed
      
      
      This change brings the suppressor attribute names into line; it also changes
      the data types to provide a more consistent interface.
      
      While -1 indicates that the suppressor is not enabled, values >= 0 for
      suppress_prefixlen or suppress_ifgroup  reject routing decisions violating the
      constraint.
      
      This changes the previously presented behaviour of suppress_prefixlen, where a
      prefix length _less_ than the attribute value was rejected. After this change,
      a prefix length less than *or* equal to the value is considered a violation of
      the rule constraint.
      
      It also changes the default values for default and newly added rules (disabling
      any suppression for those).
      Signed-off-by: default avatarStefan Tomanek <stefan.tomanek@wertarbyte.de>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      86711786
    • Stefan Tomanek's avatar
      kernel: fib_rules: add route suppression based on ifgroup · b6e4d4c3
      Stefan Tomanek authored and Alexey's avatar Alexey committed
      
      
      This change adds the ability to suppress a routing decision based upon the
      interface group the selected interface belongs to. This allows it to
      exclude specific devices from a routing decision.
      Signed-off-by: default avatarStefan Tomanek <stefan.tomanek@wertarbyte.de>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      b6e4d4c3
    • Stefan Tomanek's avatar
      kernel: fib_rules: add .suppress operation · 7b5d368d
      Stefan Tomanek authored and Alexey's avatar Alexey committed
      
      
      This change adds a new operation to the fib_rules_ops struct; it allows the
      suppression of routing decisions if certain criteria are not met by its
      results.
      
      The first implemented constraint is a minimum prefix length added to the
      structures of routing rules. If a rule is added with a minimum prefix length
      >0, only routes meeting this threshold will be considered. Any other (more
      general) routing table entries will be ignored.
      
      When configuring a system with multiple network uplinks and default routes, it
      is often convinient to reference the main routing table multiple times - but
      omitting the default route. Using this patch and a modified "ip" utility, this
      can be achieved by using the following command sequence:
      
        $ ip route add table secuplink default via 10.42.23.1
      
        $ ip rule add pref 100            table main prefixlength 1
        $ ip rule add pref 150 fwmark 0xA table secuplink
      
      With this setup, packets marked 0xA will be processed by the additional routing
      table "secuplink", but only if no suitable route in the main routing table can
      be found. By using a minimal prefixlength of 1, the default route (/0) of the
      table "main" is hidden to packets processed by rule 100; packets traveling to
      destinations with more specific routing entries are processed as usual.
      Signed-off-by: default avatarStefan Tomanek <stefan.tomanek@wertarbyte.de>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      7b5d368d
    • Oleg Sviridov's avatar
      MT7615: fix copy-paste bug · 34143eef
      Oleg Sviridov authored and Alexey's avatar Alexey committed
      34143eef
    • Alexey's avatar
      mtk-wifi: mt7603: fix drop to CCK or legacy OFDM modes in 5GHz if not... · fc925cd6
      Alexey authored
      mtk-wifi: mt7603: fix drop to CCK or legacy OFDM modes in 5GHz if not supported by config. 5GHz support only OFDM mode
      fc925cd6
  13. 20 Apr, 2021 1 commit