summaryrefslogtreecommitdiff
path: root/net/openvswitch/flow.c
diff options
context:
space:
mode:
authorLorand Jakab <lojakab@cisco.com>2013-06-03 21:01:14 +0400
committerJesse Gross <jesse@nicira.com>2013-06-15 02:09:10 +0400
commit34d94f2102fb361030569eb983751ed80742f6e9 (patch)
treeb7c02ec783cdcf5a294c8aabe060e4044ac58567 /net/openvswitch/flow.c
parent91b7514cdff406ad8f63d09b74f664c37bed2e01 (diff)
downloadlinux-34d94f2102fb361030569eb983751ed80742f6e9.tar.xz
openvswitch: fix variable names in comment
Signed-off-by: Lorand Jakab <lojakab@cisco.com> Signed-off-by: Jesse Gross <jesse@nicira.com>
Diffstat (limited to 'net/openvswitch/flow.c')
-rw-r--r--net/openvswitch/flow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/openvswitch/flow.c b/net/openvswitch/flow.c
index b15321a2228c..33df0913358d 100644
--- a/net/openvswitch/flow.c
+++ b/net/openvswitch/flow.c
@@ -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)