diff options
author | Fabian Frederick <fabf@skynet.be> | 2014-10-15 15:03:41 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-10-15 23:25:33 -0400 |
commit | 4e8febd0a76333875636859e0092a14c1fba49e4 (patch) | |
tree | 5dafff860d51af4e6a58193ee36db8a03898819f /net/openvswitch | |
parent | 7e78cc46b7ec0c80257de8d09f0097081754e206 (diff) |
openvswitch: use vport instead of p
All functions used struct vport *vport except
ovs_vport_find_upcall_portid.
This fixes 1 kerneldoc warning
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/openvswitch')
-rw-r--r-- | net/openvswitch/vport.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/openvswitch/vport.c b/net/openvswitch/vport.c index 53001b020ca7..6015802ebe6f 100644 --- a/net/openvswitch/vport.c +++ b/net/openvswitch/vport.c | |||
@@ -408,13 +408,13 @@ int ovs_vport_get_upcall_portids(const struct vport *vport, | |||
408 | * | 408 | * |
409 | * Returns the portid of the target socket. Must be called with rcu_read_lock. | 409 | * Returns the portid of the target socket. Must be called with rcu_read_lock. |
410 | */ | 410 | */ |
411 | u32 ovs_vport_find_upcall_portid(const struct vport *p, struct sk_buff *skb) | 411 | u32 ovs_vport_find_upcall_portid(const struct vport *vport, struct sk_buff *skb) |
412 | { | 412 | { |
413 | struct vport_portids *ids; | 413 | struct vport_portids *ids; |
414 | u32 ids_index; | 414 | u32 ids_index; |
415 | u32 hash; | 415 | u32 hash; |
416 | 416 | ||
417 | ids = rcu_dereference(p->upcall_portids); | 417 | ids = rcu_dereference(vport->upcall_portids); |
418 | 418 | ||
419 | if (ids->n_ids == 1 && ids->ids[0] == 0) | 419 | if (ids->n_ids == 1 && ids->ids[0] == 0) |
420 | return 0; | 420 | return 0; |