mirror of
https://github.com/openvswitch/ovs
synced 2025-08-30 22:05:19 +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;
|
||||
}
|
||||
|
||||
/* Polls for an upcall from 'dpif' for an upcall handler. Since there
|
||||
* there can be multiple poll loops, 'handler_id' is needed as index to
|
||||
* identify the corresponding poll loop. If successful, stores the upcall
|
||||
* into '*upcall', using 'buf' for storage. Should only be called if
|
||||
* 'recv_set' has been used to enable receiving packets from 'dpif'.
|
||||
/* Polls for an upcall from 'dpif' for an upcall handler. Since there can
|
||||
* be multiple poll loops, 'handler_id' is needed as index to identify the
|
||||
* corresponding poll loop. If successful, stores the upcall into '*upcall',
|
||||
* using 'buf' for storage. Should only be called if 'recv_set' has been used
|
||||
* to enable receiving packets from 'dpif'.
|
||||
*
|
||||
* 'upcall->key' and 'upcall->userdata' point into data in the caller-provided
|
||||
* 'buf', so their memory cannot be freed separately from 'buf'.
|
||||
|
Reference in New Issue
Block a user