Commit 4e8febd0 authored by Fabian Frederick's avatar Fabian Frederick Committed by David S. Miller

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: default avatarFabian Frederick <fabf@skynet.be>
Acked-by: default avatarPravin B Shelar <pshelar@nicira.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 7e78cc46
...@@ -408,13 +408,13 @@ int ovs_vport_get_upcall_portids(const struct vport *vport, ...@@ -408,13 +408,13 @@ int ovs_vport_get_upcall_portids(const struct vport *vport,
* *
* Returns the portid of the target socket. Must be called with rcu_read_lock. * Returns the portid of the target socket. Must be called with rcu_read_lock.
*/ */
u32 ovs_vport_find_upcall_portid(const struct vport *p, struct sk_buff *skb) u32 ovs_vport_find_upcall_portid(const struct vport *vport, struct sk_buff *skb)
{ {
struct vport_portids *ids; struct vport_portids *ids;
u32 ids_index; u32 ids_index;
u32 hash; u32 hash;
ids = rcu_dereference(p->upcall_portids); ids = rcu_dereference(vport->upcall_portids);
if (ids->n_ids == 1 && ids->ids[0] == 0) if (ids->n_ids == 1 && ids->ids[0] == 0)
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment