[ovs-dev] [PATCH v9 1/6] dpif-netdev: Constify key parameter of dp_netdev_action_userspace()

Simon Horman horms at verge.net.au
Wed May 22 07:08:05 UTC 2013


Signed-off-by: Simon Horman <horms at verge.net.au>

---

v9
* First post
---
 lib/dpif-netdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c
index 78bdedb..86207e9 100644
--- a/lib/dpif-netdev.c
+++ b/lib/dpif-netdev.c
@@ -1198,7 +1198,7 @@ dp_netdev_sample(struct dp_netdev *dp,
 
 static void
 dp_netdev_action_userspace(struct dp_netdev *dp,
-                          struct ofpbuf *packet, struct flow *key,
+                          struct ofpbuf *packet, const struct flow *key,
                           const struct nlattr *a)
 {
     const struct nlattr *userdata;
-- 
1.8.2.1




More information about the dev mailing list