Commit 3628e3cb authored by Andrew Lunn's avatar Andrew Lunn Committed by David S. Miller

net: ipv4: kerneldoc fixes

Simple fixes which require no deep knowledge of the code.

Cc: Paul Moore <paul@paul-moore.com>
Cc: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
Cc: Eric Dumazet <edumazet@google.com>
Signed-off-by: default avatarAndrew Lunn <andrew@lunn.ch>
Acked-by: default avatarPaul Moore <paul@paul-moore.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent aff53b23
...@@ -283,7 +283,7 @@ static int cipso_v4_cache_check(const unsigned char *key, ...@@ -283,7 +283,7 @@ static int cipso_v4_cache_check(const unsigned char *key,
/** /**
* cipso_v4_cache_add - Add an entry to the CIPSO cache * cipso_v4_cache_add - Add an entry to the CIPSO cache
* @skb: the packet * @cipso_ptr: pointer to CIPSO IP option
* @secattr: the packet's security attributes * @secattr: the packet's security attributes
* *
* Description: * Description:
...@@ -1535,6 +1535,7 @@ unsigned char *cipso_v4_optptr(const struct sk_buff *skb) ...@@ -1535,6 +1535,7 @@ unsigned char *cipso_v4_optptr(const struct sk_buff *skb)
/** /**
* cipso_v4_validate - Validate a CIPSO option * cipso_v4_validate - Validate a CIPSO option
* @skb: the packet
* @option: the start of the option, on error it is set to point to the error * @option: the start of the option, on error it is set to point to the error
* *
* Description: * Description:
...@@ -2066,7 +2067,7 @@ void cipso_v4_sock_delattr(struct sock *sk) ...@@ -2066,7 +2067,7 @@ void cipso_v4_sock_delattr(struct sock *sk)
/** /**
* cipso_v4_req_delattr - Delete the CIPSO option from a request socket * cipso_v4_req_delattr - Delete the CIPSO option from a request socket
* @reg: the request socket * @req: the request socket
* *
* Description: * Description:
* Removes the CIPSO option from a request socket, if present. * Removes the CIPSO option from a request socket, if present.
...@@ -2158,6 +2159,7 @@ int cipso_v4_sock_getattr(struct sock *sk, struct netlbl_lsm_secattr *secattr) ...@@ -2158,6 +2159,7 @@ int cipso_v4_sock_getattr(struct sock *sk, struct netlbl_lsm_secattr *secattr)
/** /**
* cipso_v4_skbuff_setattr - Set the CIPSO option on a packet * cipso_v4_skbuff_setattr - Set the CIPSO option on a packet
* @skb: the packet * @skb: the packet
* @doi_def: the DOI structure
* @secattr: the security attributes * @secattr: the security attributes
* *
* Description: * Description:
......
...@@ -636,7 +636,10 @@ static int call_ipmr_mfc_entry_notifiers(struct net *net, ...@@ -636,7 +636,10 @@ static int call_ipmr_mfc_entry_notifiers(struct net *net,
/** /**
* vif_delete - Delete a VIF entry * vif_delete - Delete a VIF entry
* @mrt: Table to delete from
* @vifi: VIF identifier to delete
* @notify: Set to 1, if the caller is a notifier_call * @notify: Set to 1, if the caller is a notifier_call
* @head: if unregistering the VIF, place it on this queue
*/ */
static int vif_delete(struct mr_table *mrt, int vifi, int notify, static int vif_delete(struct mr_table *mrt, int vifi, int notify,
struct list_head *head) struct list_head *head)
......
...@@ -4448,7 +4448,6 @@ static void tcp_sack_remove(struct tcp_sock *tp) ...@@ -4448,7 +4448,6 @@ static void tcp_sack_remove(struct tcp_sock *tp)
/** /**
* tcp_try_coalesce - try to merge skb to prior one * tcp_try_coalesce - try to merge skb to prior one
* @sk: socket * @sk: socket
* @dest: destination queue
* @to: prior buffer * @to: prior buffer
* @from: buffer to add in queue * @from: buffer to add in queue
* @fragstolen: pointer to boolean * @fragstolen: pointer to boolean
......
...@@ -3337,6 +3337,8 @@ int tcp_send_synack(struct sock *sk) ...@@ -3337,6 +3337,8 @@ int tcp_send_synack(struct sock *sk)
* sk: listener socket * sk: listener socket
* dst: dst entry attached to the SYNACK * dst: dst entry attached to the SYNACK
* req: request_sock pointer * req: request_sock pointer
* foc: cookie for tcp fast open
* synack_type: Type of synback to prepare
* *
* Allocate one skb and build a SYNACK packet. * Allocate one skb and build a SYNACK packet.
* @dst is consumed : Caller should not use it again. * @dst is consumed : Caller should not use it again.
......
...@@ -314,7 +314,7 @@ void tcp_delack_timer_handler(struct sock *sk) ...@@ -314,7 +314,7 @@ void tcp_delack_timer_handler(struct sock *sk)
/** /**
* tcp_delack_timer() - The TCP delayed ACK timeout handler * tcp_delack_timer() - The TCP delayed ACK timeout handler
* @data: Pointer to the current socket. (gets casted to struct sock *) * @t: Pointer to the timer. (gets casted to struct sock *)
* *
* This function gets (indirectly) called when the kernel timer for a TCP packet * This function gets (indirectly) called when the kernel timer for a TCP packet
* of this socket expires. Calls tcp_delack_timer_handler() to do the actual work. * of this socket expires. Calls tcp_delack_timer_handler() to do the actual work.
......
...@@ -2743,9 +2743,9 @@ int compat_udp_getsockopt(struct sock *sk, int level, int optname, ...@@ -2743,9 +2743,9 @@ int compat_udp_getsockopt(struct sock *sk, int level, int optname,
#endif #endif
/** /**
* udp_poll - wait for a UDP event. * udp_poll - wait for a UDP event.
* @file - file struct * @file: - file struct
* @sock - socket * @sock: - socket
* @wait - poll table * @wait: - poll table
* *
* This is same as datagram poll, except for the special case of * This is same as datagram poll, except for the special case of
* blocking sockets. If application is using a blocking fd * blocking sockets. If application is using a blocking fd
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment