diff options
Diffstat (limited to 'net/core/sock.c')
-rw-r--r-- | net/core/sock.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/net/core/sock.c b/net/core/sock.c index 5c2f72fa1013..98171ddd7e7d 100644 --- a/net/core/sock.c +++ b/net/core/sock.c | |||
@@ -616,10 +616,10 @@ lenout: | |||
616 | 616 | ||
617 | /** | 617 | /** |
618 | * sk_alloc - All socket objects are allocated here | 618 | * sk_alloc - All socket objects are allocated here |
619 | * @family - protocol family | 619 | * @family: protocol family |
620 | * @priority - for allocation (%GFP_KERNEL, %GFP_ATOMIC, etc) | 620 | * @priority: for allocation (%GFP_KERNEL, %GFP_ATOMIC, etc) |
621 | * @prot - struct proto associated with this new sock instance | 621 | * @prot: struct proto associated with this new sock instance |
622 | * @zero_it - if we should zero the newly allocated sock | 622 | * @zero_it: if we should zero the newly allocated sock |
623 | */ | 623 | */ |
624 | struct sock *sk_alloc(int family, int priority, struct proto *prot, int zero_it) | 624 | struct sock *sk_alloc(int family, int priority, struct proto *prot, int zero_it) |
625 | { | 625 | { |
@@ -970,8 +970,8 @@ static void __release_sock(struct sock *sk) | |||
970 | 970 | ||
971 | /** | 971 | /** |
972 | * sk_wait_data - wait for data to arrive at sk_receive_queue | 972 | * sk_wait_data - wait for data to arrive at sk_receive_queue |
973 | * sk - sock to wait on | 973 | * @sk: sock to wait on |
974 | * timeo - for how long | 974 | * @timeo: for how long |
975 | * | 975 | * |
976 | * Now socket state including sk->sk_err is changed only under lock, | 976 | * Now socket state including sk->sk_err is changed only under lock, |
977 | * hence we may omit checks after joining wait queue. | 977 | * hence we may omit checks after joining wait queue. |