summaryrefslogtreecommitdiffstats
path: root/net/openvswitch
diff options
context:
space:
mode:
authorLorand Jakab <lojakab@cisco.com>2013-06-03 10:01:14 -0700
committerJesse Gross <jesse@nicira.com>2013-06-14 15:09:10 -0700
commit34d94f2102fb361030569eb983751ed80742f6e9 (patch)
treeb7c02ec783cdcf5a294c8aabe060e4044ac58567 /net/openvswitch
parent91b7514cdff406ad8f63d09b74f664c37bed2e01 (diff)
downloadop-kernel-dev-34d94f2102fb361030569eb983751ed80742f6e9.zip
op-kernel-dev-34d94f2102fb361030569eb983751ed80742f6e9.tar.gz
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')
-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 b15321a..33df091 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)
OpenPOWER on IntegriCloud