mirror of
https://github.com/openvswitch/ovs
synced 2025-09-01 14:55:18 +00:00
dpif: Remove duplicated word in comment for dpif_recv()
Signed-off-by: Kaige Fu <fukaige@huawei.com> Signed-off-by: Ben Pfaff <blp@ovn.org> Reviewed-by: Greg Rose <gvrose8192@gmail.com>
This commit is contained in:
10
lib/dpif.c
10
lib/dpif.c
@@ -1547,11 +1547,11 @@ dpif_set_config(struct dpif *dpif, const struct smap *cfg)
|
|||||||
return error;
|
return error;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Polls for an upcall from 'dpif' for an upcall handler. Since there
|
/* Polls for an upcall from 'dpif' for an upcall handler. Since there can
|
||||||
* there can be multiple poll loops, 'handler_id' is needed as index to
|
* be multiple poll loops, 'handler_id' is needed as index to identify the
|
||||||
* identify the corresponding poll loop. If successful, stores the upcall
|
* corresponding poll loop. If successful, stores the upcall into '*upcall',
|
||||||
* into '*upcall', using 'buf' for storage. Should only be called if
|
* using 'buf' for storage. Should only be called if 'recv_set' has been used
|
||||||
* 'recv_set' has been used to enable receiving packets from 'dpif'.
|
* to enable receiving packets from 'dpif'.
|
||||||
*
|
*
|
||||||
* 'upcall->key' and 'upcall->userdata' point into data in the caller-provided
|
* 'upcall->key' and 'upcall->userdata' point into data in the caller-provided
|
||||||
* 'buf', so their memory cannot be freed separately from 'buf'.
|
* 'buf', so their memory cannot be freed separately from 'buf'.
|
||||||
|
Reference in New Issue
Block a user