summaryrefslogtreecommitdiffstats
path: root/include/net/sock.h
diff options
context:
space:
mode:
authorStephen Hemminger2016-10-23 18:28:29 +0200
committerDavid S. Miller2016-10-26 23:31:23 +0200
commit293de7dee4f9602676846dbeb84b1580123306b4 (patch)
tree7d5b29a84eedd15632838751e97e8a4c0de4bf36 /include/net/sock.h
parentrocker: fix error return code in rocker_world_check_init() (diff)
downloadkernel-qcow2-linux-293de7dee4f9602676846dbeb84b1580123306b4.tar.gz
kernel-qcow2-linux-293de7dee4f9602676846dbeb84b1580123306b4.tar.xz
kernel-qcow2-linux-293de7dee4f9602676846dbeb84b1580123306b4.zip
doc: update docbook annotations for socket and skb
The skbuff and sock structure both had missing parameter annotation values. Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/sock.h')
-rw-r--r--include/net/sock.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/net/sock.h b/include/net/sock.h
index ebf75db08e06..73c6b008f1b7 100644
--- a/include/net/sock.h
+++ b/include/net/sock.h
@@ -252,6 +252,7 @@ struct sock_common {
* @sk_pacing_rate: Pacing rate (if supported by transport/packet scheduler)
* @sk_max_pacing_rate: Maximum pacing rate (%SO_MAX_PACING_RATE)
* @sk_sndbuf: size of send buffer in bytes
+ * @sk_padding: unused element for alignment
* @sk_no_check_tx: %SO_NO_CHECK setting, set checksum in TX packets
* @sk_no_check_rx: allow zero checksum in RX packets
* @sk_route_caps: route capabilities (e.g. %NETIF_F_TSO)
@@ -302,7 +303,8 @@ struct sock_common {
* @sk_backlog_rcv: callback to process the backlog
* @sk_destruct: called at sock freeing time, i.e. when all refcnt == 0
* @sk_reuseport_cb: reuseport group container
- */
+ * @sk_rcu: used during RCU grace period
+ */
struct sock {
/*
* Now struct inet_timewait_sock also uses sock_common, so please just