X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=datapath%2Factions.c;h=6defd2d4f0e0228eb01979f41b49118ffae885c0;hb=d2bb2799e1b7cf2177140cf4ca8a60312c87625a;hp=67f6cd41d3dd346f00d89168b5c5f2a139762072;hpb=b9298d3f825703063c9538aa37407da43e1e4781;p=openvswitch diff --git a/datapath/actions.c b/datapath/actions.c index 67f6cd41..6defd2d4 100644 --- a/datapath/actions.c +++ b/datapath/actions.c @@ -138,7 +138,7 @@ static struct sk_buff *modify_vlan_tci(struct datapath *dp, struct sk_buff *skb, segs = skb_gso_segment(skb, 0); kfree_skb(skb); - if (unlikely(IS_ERR(segs))) + if (IS_ERR(segs)) return ERR_CAST(segs); actions_len_left = actions_len;