.. | .. |
---|
284 | 284 | /** |
---|
285 | 285 | * llc_conn_remove_acked_pdus - Removes acknowledged pdus from tx queue |
---|
286 | 286 | * @sk: active connection |
---|
287 | | - * nr: NR |
---|
288 | | - * how_many_unacked: size of pdu_unack_q after removing acked pdus |
---|
| 287 | + * @nr: NR |
---|
| 288 | + * @how_many_unacked: size of pdu_unack_q after removing acked pdus |
---|
289 | 289 | * |
---|
290 | 290 | * Removes acknowledged pdus from transmit queue (pdu_unack_q). Returns |
---|
291 | 291 | * the number of pdus that removed from queue. |
---|
.. | .. |
---|
813 | 813 | else { |
---|
814 | 814 | dprintk("%s: adding to backlog...\n", __func__); |
---|
815 | 815 | llc_set_backlog_type(skb, LLC_PACKET); |
---|
816 | | - if (sk_add_backlog(sk, skb, sk->sk_rcvbuf)) |
---|
| 816 | + if (sk_add_backlog(sk, skb, READ_ONCE(sk->sk_rcvbuf))) |
---|
817 | 817 | goto drop_unlock; |
---|
818 | 818 | } |
---|
819 | 819 | out: |
---|
.. | .. |
---|
906 | 906 | |
---|
907 | 907 | /** |
---|
908 | 908 | * llc_sk_alloc - Allocates LLC sock |
---|
| 909 | + * @net: network namespace |
---|
909 | 910 | * @family: upper layer protocol family |
---|
910 | 911 | * @priority: for allocation (%GFP_KERNEL, %GFP_ATOMIC, etc) |
---|
911 | 912 | * |
---|
.. | .. |
---|
951 | 952 | |
---|
952 | 953 | /** |
---|
953 | 954 | * llc_sk_free - Frees a LLC socket |
---|
954 | | - * @sk - socket to free |
---|
| 955 | + * @sk: - socket to free |
---|
955 | 956 | * |
---|
956 | 957 | * Frees a LLC socket |
---|
957 | 958 | */ |
---|