summaryrefslogtreecommitdiffstats
path: root/Documentation/networking/netlink_mmap.txt
diff options
context:
space:
mode:
authorMasanari Iida2013-10-30 08:46:15 +0100
committerDavid S. Miller2013-10-30 22:10:20 +0100
commitc17cb8b55b104c549aa20a72fa44141ad2c65ec2 (patch)
tree7082490d6e031e5c4a6b5be8393b830a58da4a84 /Documentation/networking/netlink_mmap.txt
parentbgmac: don't update slot on skb alloc/dma mapping error (diff)
downloadkernel-qcow2-linux-c17cb8b55b104c549aa20a72fa44141ad2c65ec2.tar.gz
kernel-qcow2-linux-c17cb8b55b104c549aa20a72fa44141ad2c65ec2.tar.xz
kernel-qcow2-linux-c17cb8b55b104c549aa20a72fa44141ad2c65ec2.zip
doc:net: Fix typo in Documentation/networking
Correct spelling typo in Documentation/networking Signed-off-by: Masanari Iida <standby24x7@gmail.com> Acked-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/networking/netlink_mmap.txt')
-rw-r--r--Documentation/networking/netlink_mmap.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/networking/netlink_mmap.txt b/Documentation/networking/netlink_mmap.txt
index 533378839546..b26122973525 100644
--- a/Documentation/networking/netlink_mmap.txt
+++ b/Documentation/networking/netlink_mmap.txt
@@ -45,7 +45,7 @@ processing.
Conversion of the reception path involves calling poll() on the file
descriptor, once the socket is readable the frames from the ring are
-processsed in order until no more messages are available, as indicated by
+processed in order until no more messages are available, as indicated by
a status word in the frame header.
On kernel side, in order to make use of memory mapped I/O on receive, the
@@ -56,7 +56,7 @@ Dumps of kernel databases automatically support memory mapped I/O.
Conversion of the transmit path involves changing message construction to
use memory from the TX ring instead of (usually) a buffer declared on the
-stack and setting up the frame header approriately. Optionally poll() can
+stack and setting up the frame header appropriately. Optionally poll() can
be used to wait for free frames in the TX ring.
Structured and definitions for using memory mapped I/O are contained in
@@ -231,7 +231,7 @@ Ring setup:
if (setsockopt(fd, NETLINK_TX_RING, &req, sizeof(req)) < 0)
exit(1)
- /* Calculate size of each invididual ring */
+ /* Calculate size of each individual ring */
ring_size = req.nm_block_nr * req.nm_block_size;
/* Map RX/TX rings. The TX ring is located after the RX ring */