]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
openvswitch: fix variable names in comment
authorLorand Jakab <lojakab@cisco.com>
Mon, 3 Jun 2013 17:01:14 +0000 (10:01 -0700)
committerJesse Gross <jesse@nicira.com>
Fri, 14 Jun 2013 22:09:10 +0000 (15:09 -0700)
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
net/openvswitch/flow.c

index b15321a2228c879a6a2bc56e950e7335be2a9507..33df0913358d3c05f0f0b4c865d6e394e23c3197 100644 (file)
@@ -590,10 +590,10 @@ out:
  *    - skb->network_header: just past the Ethernet header, or just past the
  *      VLAN header, to the first byte of the Ethernet payload.
  *
- *    - skb->transport_header: If key->dl_type is ETH_P_IP or ETH_P_IPV6
+ *    - skb->transport_header: If key->eth.type is ETH_P_IP or ETH_P_IPV6
  *      on output, then just past the IP header, if one is present and
  *      of a correct length, otherwise the same as skb->network_header.
- *      For other key->dl_type values it is left untouched.
+ *      For other key->eth.type values it is left untouched.
  */
 int ovs_flow_extract(struct sk_buff *skb, u16 in_port, struct sw_flow_key *key,
                 int *key_lenp)