提交 c5ef188e 编写于 作者: J Jiri Pirko 提交者: David S. Miller

flow_dissector: rename "proto again" goto label

Align with "ip_proto_again" label used in the same function and rename
vague "again" to "proto_again".
Signed-off-by: NJiri Pirko <jiri@mellanox.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 d5774b93
...@@ -267,7 +267,7 @@ bool __skb_flow_dissect(const struct sk_buff *skb, ...@@ -267,7 +267,7 @@ bool __skb_flow_dissect(const struct sk_buff *skb,
memcpy(key_eth_addrs, &eth->h_dest, sizeof(*key_eth_addrs)); memcpy(key_eth_addrs, &eth->h_dest, sizeof(*key_eth_addrs));
} }
again: proto_again:
switch (proto) { switch (proto) {
case htons(ETH_P_IP): { case htons(ETH_P_IP): {
const struct iphdr *iph; const struct iphdr *iph;
...@@ -370,7 +370,7 @@ bool __skb_flow_dissect(const struct sk_buff *skb, ...@@ -370,7 +370,7 @@ bool __skb_flow_dissect(const struct sk_buff *skb,
proto = vlan->h_vlan_encapsulated_proto; proto = vlan->h_vlan_encapsulated_proto;
nhoff += sizeof(*vlan); nhoff += sizeof(*vlan);
if (skip_vlan) if (skip_vlan)
goto again; goto proto_again;
} }
skip_vlan = true; skip_vlan = true;
...@@ -393,7 +393,7 @@ bool __skb_flow_dissect(const struct sk_buff *skb, ...@@ -393,7 +393,7 @@ bool __skb_flow_dissect(const struct sk_buff *skb,
} }
} }
goto again; goto proto_again;
} }
case htons(ETH_P_PPP_SES): { case htons(ETH_P_PPP_SES): {
struct { struct {
...@@ -577,7 +577,7 @@ bool __skb_flow_dissect(const struct sk_buff *skb, ...@@ -577,7 +577,7 @@ bool __skb_flow_dissect(const struct sk_buff *skb,
if (flags & FLOW_DISSECTOR_F_STOP_AT_ENCAP) if (flags & FLOW_DISSECTOR_F_STOP_AT_ENCAP)
goto out_good; goto out_good;
goto again; goto proto_again;
} }
case NEXTHDR_HOP: case NEXTHDR_HOP:
case NEXTHDR_ROUTING: case NEXTHDR_ROUTING:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册