[ovs-dev] [PATCH 0/2] Return no protocols if mask is supplied for unmaskable match

Simon Horman horms at verge.net.au
Thu Oct 31 04:00:00 UTC 2013


Hi,

the primary purpose of this series is to return an error message rather
than segfaulting if ovs-ofctl add-flow is called with a mask for a match
that does not accept a mask. The second patch in the series does that
and updates the testsuite to exercise this.

The first patch in the series corrects a minor omission in the ovs-ofctl
tests: it adds an icmp_code test in place of a duplicate icmp_type test.
This patch is included in the series as the second patch touches the
same area of the same file.

Simon Horman (2):
  ovs-ofctl: Add icmp_code test
  Return no protocols if mask is supplied for unmaskable match

 lib/meta-flow.c    |  2 +-
 tests/ovs-ofctl.at | 51 +++++++++++++++++++++++++++++++++++++++++++++++++--
 2 files changed, 50 insertions(+), 3 deletions(-)

-- 
1.8.4




More information about the dev mailing list