From: Sebastian Andrzej Siewior Date: Thu, 3 Mar 2022 17:14:57 +0000 (+0100) Subject: docs: networking: Use netif_rx(). X-Git-Tag: v5.18-rc1~136^2~192^2~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=21f95a88eab49eebc70f25f17567aacb9cdafc01;p=thirdparty%2Fkernel%2Flinux.git docs: networking: Use netif_rx(). Since commit baebdf48c3600 ("net: dev: Makes sure netif_rx() can be invoked in any context.") the function netif_rx() can be used in preemptible/thread context as well as in interrupt context. Use netif_rx(). Cc: Jonathan Corbet Cc: linux-doc@vger.kernel.org Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: David S. Miller --- diff --git a/Documentation/networking/timestamping.rst b/Documentation/networking/timestamping.rst index f5809206eb93d..be4eb12420570 100644 --- a/Documentation/networking/timestamping.rst +++ b/Documentation/networking/timestamping.rst @@ -668,7 +668,7 @@ timestamping: (through another RX timestamping FIFO). Deferral on RX is typically necessary when retrieving the timestamp needs a sleepable context. In that case, it is the responsibility of the DSA driver to call - ``netif_rx_ni()`` on the freshly timestamped skb. + ``netif_rx()`` on the freshly timestamped skb. 3.2.2 Ethernet PHYs ^^^^^^^^^^^^^^^^^^^