]> git.proxmox.com Git - ovs.git/commitdiff
datapath: fix variable names in comment
authorLorand Jakab <lojakab@cisco.com>
Mon, 3 Jun 2013 15:43:37 +0000 (08:43 -0700)
committerJesse Gross <jesse@nicira.com>
Mon, 3 Jun 2013 16:45:15 +0000 (09:45 -0700)
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
datapath/flow.c

index 3ce926e5856f5a3e102f0fa8d3d4f01920b232c3..7f897bd5c3da79b1c7790281a940b6eb156d19da 100644 (file)
@@ -606,10 +606,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)