From: Simon Horman <horms@verge.net.au>
Date: Tue, 7 Jan 2014 05:33:37 +0000 (+0900)
Subject: netdev: Update rx_recv documentation for NULL case
X-Git-Tag: sliver-openvswitch-2.1.90-1~10^2~54
X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=fe68c005871ec5b4b3f33c1b99593667cc83c234;p=sliver-openvswitch.git

netdev: Update rx_recv documentation for NULL case

Replace truncated description of when rx_recv() may be NULL
with text used for other fields of netdev_class.

Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Ben Pfaff <blp@nicira.com>
---

diff --git a/lib/netdev-provider.h b/lib/netdev-provider.h
index 40ba944ad..b0630cb4b 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