diff options
Diffstat (limited to 'net/openvswitch/actions.c')
-rw-r--r-- | net/openvswitch/actions.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/openvswitch/actions.c b/net/openvswitch/actions.c index 0da687769f56..c7425f32e7db 100644 --- a/net/openvswitch/actions.c +++ b/net/openvswitch/actions.c | |||
@@ -286,7 +286,7 @@ static int output_userspace(struct datapath *dp, struct sk_buff *skb, | |||
286 | upcall.cmd = OVS_PACKET_CMD_ACTION; | 286 | upcall.cmd = OVS_PACKET_CMD_ACTION; |
287 | upcall.key = &OVS_CB(skb)->flow->key; | 287 | upcall.key = &OVS_CB(skb)->flow->key; |
288 | upcall.userdata = NULL; | 288 | upcall.userdata = NULL; |
289 | upcall.pid = 0; | 289 | upcall.portid = 0; |
290 | 290 | ||
291 | for (a = nla_data(attr), rem = nla_len(attr); rem > 0; | 291 | for (a = nla_data(attr), rem = nla_len(attr); rem > 0; |
292 | a = nla_next(a, &rem)) { | 292 | a = nla_next(a, &rem)) { |
@@ -296,7 +296,7 @@ static int output_userspace(struct datapath *dp, struct sk_buff *skb, | |||
296 | break; | 296 | break; |
297 | 297 | ||
298 | case OVS_USERSPACE_ATTR_PID: | 298 | case OVS_USERSPACE_ATTR_PID: |
299 | upcall.pid = nla_get_u32(a); | 299 | upcall.portid = nla_get_u32(a); |
300 | break; | 300 | break; |
301 | } | 301 | } |
302 | } | 302 | } |