ofproto: Fail flow mod if it references a non-existent group
authorSimon Horman <horms@verge.net.au>
Wed, 30 Oct 2013 09:17:06 +0000 (18:17 +0900)
committerBen Pfaff <blp@nicira.com>
Fri, 1 Nov 2013 16:54:27 +0000 (09:54 -0700)
commit84d685662cadf68ae8d112faa7dd13160b6ccff2
treedf642fa9d7f618ace4bba16df25a12cead57db70
parent276f6518ef5b44cdb510c701113ee12d8c26241a
ofproto: Fail flow mod if it references a non-existent group

As per the OpenFlow1.3.2 specification, a flow mod should fail
if it references a non-existent group.

The change in this patch appears to be necessary to satisfy that
constraint. It is unclear to me whether or not is is sufficient.

Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Ben Pfaff <blp@nicira.com>
ofproto/ofproto.c