X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=datapath%2Fflow.c;h=73222954fd3a8c3779308b62a9215178b771924d;hb=c3636ffc10a2a016b89d05c9456b3fdc030d444c;hp=2d08c9d71a2e76256e1be5bce6a4eff22e28911f;hpb=3544358aa5960b148bc31435a0062e9392530ec2;p=openvswitch diff --git a/datapath/flow.c b/datapath/flow.c index 2d08c9d7..73222954 100644 --- a/datapath/flow.c +++ b/datapath/flow.c @@ -173,12 +173,12 @@ void flow_used(struct sw_flow *flow, struct sk_buff *skb) tcp_flags = *(tcp + TCP_FLAGS_OFFSET) & TCP_FLAG_MASK; } - spin_lock_bh(&flow->lock); + spin_lock(&flow->lock); flow->used = jiffies; flow->packet_count++; flow->byte_count += skb->len; flow->tcp_flags |= tcp_flags; - spin_unlock_bh(&flow->lock); + spin_unlock(&flow->lock); } struct sw_flow_actions *flow_actions_alloc(const struct nlattr *actions)