aboutsummaryrefslogtreecommitdiffstats
path: root/net/llc/af_llc.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/llc/af_llc.c')
-rw-r--r--net/llc/af_llc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/llc/af_llc.c b/net/llc/af_llc.c
index f536369cdb52..ad9aad807aa8 100644
--- a/net/llc/af_llc.c
+++ b/net/llc/af_llc.c
@@ -628,7 +628,6 @@ static int llc_ui_accept(struct socket *sock, struct socket *newsock, int flags)
628 /* put original socket back into a clean listen state. */ 628 /* put original socket back into a clean listen state. */
629 sk->sk_state = TCP_LISTEN; 629 sk->sk_state = TCP_LISTEN;
630 sk->sk_ack_backlog--; 630 sk->sk_ack_backlog--;
631 skb->sk = NULL;
632 dprintk("%s: ok success on %02X, client on %02X\n", __FUNCTION__, 631 dprintk("%s: ok success on %02X, client on %02X\n", __FUNCTION__,
633 llc_sk(sk)->addr.sllc_sap, newllc->daddr.lsap); 632 llc_sk(sk)->addr.sllc_sap, newllc->daddr.lsap);
634frees: 633frees:
@@ -740,7 +739,6 @@ static int llc_ui_sendmsg(struct kiocb *iocb, struct socket *sock,
740 lock_sock(sk); 739 lock_sock(sk);
741 if (!skb) 740 if (!skb)
742 goto release; 741 goto release;
743 skb->sk = sk;
744 skb->dev = llc->dev; 742 skb->dev = llc->dev;
745 skb->protocol = llc_proto_type(addr->sllc_arphrd); 743 skb->protocol = llc_proto_type(addr->sllc_arphrd);
746 skb_reserve(skb, hdrlen); 744 skb_reserve(skb, hdrlen);