[ovs-dev] [PATCH] datapath: Fix indentation in pop_vlan().

Ben Pfaff blp at nicira.com
Wed Nov 2 17:47:10 UTC 2011


Signed-off-by: Ben Pfaff <blp at nicira.com>
---
 datapath/actions.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/datapath/actions.c b/datapath/actions.c
index 4db2563..b5b92ba 100644
--- a/datapath/actions.c
+++ b/datapath/actions.c
@@ -77,7 +77,7 @@ static int pop_vlan(struct sk_buff *skb)
 		vlan_set_tci(skb, 0);
 	} else {
 		if (unlikely(skb->protocol != htons(ETH_P_8021Q) ||
-		    skb->len < VLAN_ETH_HLEN))
+			     skb->len < VLAN_ETH_HLEN))
 			return 0;
 
 		err = __pop_vlan_tci(skb, &tci);
@@ -86,7 +86,7 @@ static int pop_vlan(struct sk_buff *skb)
 	}
 	/* move next vlan tag to hw accel tag */
 	if (likely(skb->protocol != htons(ETH_P_8021Q) ||
-	    skb->len < VLAN_ETH_HLEN))
+		   skb->len < VLAN_ETH_HLEN))
 		return 0;
 
 	err = __pop_vlan_tci(skb, &tci);
-- 
1.7.4.4




More information about the dev mailing list