From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 28 Jun 2016 04:14:41 +0200 From: Linus =?utf-8?Q?L=C3=BCssing?= Message-ID: <20160628021441.GT4407@otheros> References: <1467008142-3797-1-git-send-email-sven@narfation.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1467008142-3797-1-git-send-email-sven@narfation.org> Subject: Re: [B.A.T.M.A.N.] [PATCH v3] batman-adv: Remove orig_node reference handling from send_skb_unicast List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: The list for a Better Approach To Mobile Ad-hoc Networking On Mon, Jun 27, 2016 at 08:15:42AM +0200, Sven Eckelmann wrote: > The function batadv_send_skb_unicast is not acquiring a reference for an > orig_node nor removing it from any datastructure. It still reduces the > reference counter for an object which is still in the hands of the caller. > > This is confusing and can lead in the future to problems in the reference > handling of the caller function. > > Signed-off-by: Sven Eckelmann > --- > v3: > - adjust commit message to sound less like an fix (thanks Linus) > - Remove " and release a reference to this orig_node" from kerneldoc of > batadv_send_skb_unicast (thanks Linus) > v2: > - remove bogus multicast example > - remove Fixes: > --- Acked-by: Linus Lüssing