From owner-cvs-src-old@FreeBSD.ORG Mon Jan 19 22:06:49 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B8071065706 for ; Mon, 19 Jan 2009 22:06:49 +0000 (UTC) (envelope-from emax@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 2D4588FC24 for ; Mon, 19 Jan 2009 22:06:49 +0000 (UTC) (envelope-from emax@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n0JM6nWE044036 for ; Mon, 19 Jan 2009 22:06:49 GMT (envelope-from emax@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n0JM6nHg044035 for cvs-src-old@freebsd.org; Mon, 19 Jan 2009 22:06:49 GMT (envelope-from emax@repoman.freebsd.org) Message-Id: <200901192206.n0JM6nHg044035@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to emax@repoman.freebsd.org using -f From: Maksim Yevmenkin Date: Mon, 19 Jan 2009 22:06:35 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/netgraph/bluetooth/l2cap ng_l2cap_llpi.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jan 2009 22:06:49 -0000 emax 2009-01-19 22:06:35 UTC FreeBSD src repository Modified files: sys/netgraph/bluetooth/l2cap ng_l2cap_llpi.c Log: SVN rev 187454 on 2009-01-19 22:06:35Z by emax Properly return error code to the caller. This should fix the following panic in ng_l2cap(4). panic: ng_l2cap_l2ca_con_req: ubt0l2cap - could not find connection! While i'm here get rid of few goto's. MFC after: 1 week Revision Changes Path 1.10 +26 -20 src/sys/netgraph/bluetooth/l2cap/ng_l2cap_llpi.c