X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=datapath%2Fbrcompat.c;h=44b2c9923e4f8dd1a313a07060abd1ed4f5bc751;hb=e2e744a852da97d86594b6ba4b6efeef57086fcf;hp=b68720bd811f3e031aab7237faeb83cd59bcc06b;hpb=fceb2a5bb2063023777fc75c68a2670b5169fa13;p=openvswitch diff --git a/datapath/brcompat.c b/datapath/brcompat.c index b68720bd..44b2c992 100644 --- a/datapath/brcompat.c +++ b/datapath/brcompat.c @@ -425,8 +425,7 @@ static int brc_genl_dp_result(struct sk_buff *skb, struct genl_info *info) if (brc_seq == info->snd_seq) { brc_seq++; - if (brc_reply) - kfree_skb(brc_reply); + kfree_skb(brc_reply); brc_reply = skb; complete(&brc_done);