mirror of
https://github.com/openvswitch/ovs
synced 2025-10-11 13:57:52 +00:00
dpif-netdev: Fix segfault handling packets.
Reported-by: Hassan Khan <hassan.khan@seecs.edu.pk>
This commit is contained in:
@@ -1315,7 +1315,7 @@ dp_netdev_output_control(struct dp_netdev *dp, const struct ofpbuf *packet,
|
||||
upcall->key_len = key_len;
|
||||
upcall->userdata = arg;
|
||||
|
||||
q->upcalls[++q->head & QUEUE_MASK] = upcall;
|
||||
q->upcalls[q->head++ & QUEUE_MASK] = upcall;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user