OSDN Git Service

Merge branch 'fib_rules-support-sport-dport-and-proto-match'
authorDavid S. Miller <davem@davemloft.net>
Thu, 1 Mar 2018 03:45:05 +0000 (22:45 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Mar 2018 03:45:05 +0000 (22:45 -0500)
Roopa Prabhu says:

====================
fib_rules: support sport, dport and proto match

This series extends fib rule match support to include sport, dport
and ip proto match (to complete the 5-tuple match support).
Common use-cases of Policy based routing in the data center require
5-tuple match. The last 2 patches in the series add a call to flow dissect
in the fwd path if required by the installed fib rules (controlled by a flag).

v1:
  - Fix errors reported by kbuild and feedback on RFC
  - extend port match uapi to accomodate port ranges

v2:
  - address comments from Nikolay, David Ahern and Paolo (Thanks!)

Pending things I will submit separate patches for:
  - extack for fib rules
  - fib rules test (as requested by david ahern)
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge