aboutsummaryrefslogtreecommitdiffstats
path: root/net/llc/llc_conn.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/llc/llc_conn.c')
-rw-r--r--net/llc/llc_conn.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/llc/llc_conn.c b/net/llc/llc_conn.c
index 81a61fce3afb..3e821daf9dd4 100644
--- a/net/llc/llc_conn.c
+++ b/net/llc/llc_conn.c
@@ -768,7 +768,7 @@ static struct sock *llc_create_incoming_sock(struct sock *sk,
768 struct llc_addr *daddr) 768 struct llc_addr *daddr)
769{ 769{
770 struct sock *newsk = llc_sk_alloc(sock_net(sk), sk->sk_family, GFP_ATOMIC, 770 struct sock *newsk = llc_sk_alloc(sock_net(sk), sk->sk_family, GFP_ATOMIC,
771 sk->sk_prot); 771 sk->sk_prot, 0);
772 struct llc_sock *newllc, *llc = llc_sk(sk); 772 struct llc_sock *newllc, *llc = llc_sk(sk);
773 773
774 if (!newsk) 774 if (!newsk)
@@ -931,9 +931,9 @@ static void llc_sk_init(struct sock *sk)
931 * Allocates a LLC sock and initializes it. Returns the new LLC sock 931 * Allocates a LLC sock and initializes it. Returns the new LLC sock
932 * or %NULL if there's no memory available for one 932 * or %NULL if there's no memory available for one
933 */ 933 */
934struct sock *llc_sk_alloc(struct net *net, int family, gfp_t priority, struct proto *prot) 934struct sock *llc_sk_alloc(struct net *net, int family, gfp_t priority, struct proto *prot, int kern)
935{ 935{
936 struct sock *sk = sk_alloc(net, family, priority, prot); 936 struct sock *sk = sk_alloc(net, family, priority, prot, kern);
937 937
938 if (!sk) 938 if (!sk)
939 goto out; 939 goto out;