Replace truncated description of when rx_recv() may be NULL with text used for other fields of netdev_class.
Signed-off-by: Simon Horman <[email protected]> --- v4 * First post --- lib/netdev-provider.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/netdev-provider.h b/lib/netdev-provider.h index 40ba944..b0630cb 100644 --- a/lib/netdev-provider.h +++ b/lib/netdev-provider.h @@ -642,7 +642,8 @@ struct netdev_class { * Must return -EMSGSIZE, and discard the packet, if the received packet * is longer than 'size' bytes. * - * Specify NULL if this */ + * This function may be set to null if it would always return EOPNOTSUPP + * anyhow. */ int (*rx_recv)(struct netdev_rx *rx, void *buffer, size_t size); /* Registers with the poll loop to wake up from the next call to -- 1.8.4 _______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev
