diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2022-03-03 18:14:57 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-03-04 12:02:19 +0000 |
commit | 21f95a88eab49eebc70f25f17567aacb9cdafc01 (patch) | |
tree | d9b089ad8d039cb87265351bbdb91a45cffa59c6 /Documentation/networking | |
parent | 4ee508ff78c83c4bf855148f026315fa58c7baf4 (diff) | |
download | linux-21f95a88eab49eebc70f25f17567aacb9cdafc01.tar.bz2 |
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 <corbet@lwn.net>
Cc: linux-doc@vger.kernel.org
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/networking')
-rw-r--r-- | Documentation/networking/timestamping.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/networking/timestamping.rst b/Documentation/networking/timestamping.rst index f5809206eb93..be4eb1242057 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 ^^^^^^^^^^^^^^^^^^^ |