On Mon, Nov 03, 2014 at 11:39:00AM -0800, Jarno Rajahalme wrote:
> Returning const struct cls_rule pointers from the classifier API helps
> callers to remember that they should not modify the rules returned.
> 
> Signed-off-by: Jarno Rajahalme <[email protected]>

I don't think it has much practical effect since most of the callers
immediately cast the pointer to some other container type, but it does
seem a little nicer.

Acked-by: Ben Pfaff <[email protected]>
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to