diff for duplicates of <20100426150919.GA12813@vigoh> diff --git a/a/1.txt b/N1/1.txt index 11c3d52..d7e2f70 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -15,7 +15,7 @@ Hi Dan, > +++ b/net/bluetooth/l2cap.c > @@ -1712,8 +1712,12 @@ static int l2cap_sock_sendmsg(struct kiocb *iocb, struct socket *sock, struct ms > /* Connectionless channel */ -> if (sk->sk_type = SOCK_DGRAM) { +> if (sk->sk_type == SOCK_DGRAM) { > skb = l2cap_create_connless_pdu(sk, msg, len); > - l2cap_do_send(sk, skb); > - err = len; diff --git a/a/content_digest b/N1/content_digest index ff3f1be..5c257d7 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -3,7 +3,7 @@ "ref\020100426113627.GS29093@bicker\0" "From\0Gustavo F. Padovan <gustavo@padovan.org>\0" "Subject\0Re: [patch v2] bluetooth: handle l2cap_create_connless_pdu() errors\0" - "Date\0Mon, 26 Apr 2010 15:09:19 +0000\0" + "Date\0Mon, 26 Apr 2010 12:09:19 -0300\0" "To\0Dan Carpenter <error27@gmail.com>\0" "Cc\0Marcel Holtmann <marcel@holtmann.org>" David S. Miller <davem@davemloft.net> @@ -30,7 +30,7 @@ "> +++ b/net/bluetooth/l2cap.c\n" "> @@ -1712,8 +1712,12 @@ static int l2cap_sock_sendmsg(struct kiocb *iocb, struct socket *sock, struct ms\n" "> \t/* Connectionless channel */\n" - "> \tif (sk->sk_type = SOCK_DGRAM) {\n" + "> \tif (sk->sk_type == SOCK_DGRAM) {\n" "> \t\tskb = l2cap_create_connless_pdu(sk, msg, len);\n" "> -\t\tl2cap_do_send(sk, skb);\n" "> -\t\terr = len;\n" @@ -54,4 +54,4 @@ "Gustavo F. Padovan\n" http://padovan.org -510f062e0ae62932eca022e51e41f4e820fefae8d5b01b6a14d4cd193446b056 +fbfc346923b7cb198f5883e6cf02a6444b26aadd90cd55f7a12290e560002b2a
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.