]> git.proxmox.com Git - mirror_ovs.git/commit
classifier: Constify RCU pointers.
authorJarno Rajahalme <jrajahalme@nicira.com>
Thu, 6 Nov 2014 22:55:29 +0000 (14:55 -0800)
committerJarno Rajahalme <jrajahalme@nicira.com>
Thu, 6 Nov 2014 22:55:29 +0000 (14:55 -0800)
commitdfea28b3b497cbf9efe4f12a0f742d486cdcc69f
treefe68e7f6769233c3567a34e7f38f99f73bf3ce3d
parent059def1e2fa50223bee7dd04d4075d72bc5845a2
classifier: Constify RCU pointers.

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 <jrajahalme@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
lib/classifier.c
lib/classifier.h
lib/ovs-router.c
tests/test-classifier.c