]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/openvswitch/vport.c
libsas: use ata_dev_classify()
[karo-tx-linux.git] / net / openvswitch / vport.c
index 53001b020ca7699fbf4a4c21199ac99825b45c51..6015802ebe6fee99b0b44c6f39da8f3bcd0f71f7 100644 (file)
@@ -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.
  */
-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;
        u32 ids_index;
        u32 hash;
 
-       ids = rcu_dereference(p->upcall_portids);
+       ids = rcu_dereference(vport->upcall_portids);
 
        if (ids->n_ids == 1 && ids->ids[0] == 0)
                return 0;