[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9d8b436a-5d8d-2a53-a2a1-5fbab987e41b@gmail.com>
Date: Wed, 4 May 2022 11:28:51 +0700
From: Bagas Sanjaya <bagasdotme@...il.com>
To: Jakub Kicinski <kuba@...nel.org>
Cc: linux-doc@...r.kernel.org, Stephen Rothwell <sfr@...b.auug.org.au>,
Dave Jones <davej@...hat.com>,
Randy Dunlap <randy.dunlap@...cle.com>,
"David S . Miller" <davem@...emloft.net>,
Pavel Begunkov <asml.silence@...il.com>,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next] net/core: Remove comment quote for
__dev_queue_xmit()
On 5/4/22 08:03, Jakub Kicinski wrote:
> On Tue, 3 May 2022 14:29:49 +0700 Bagas Sanjaya wrote:
>> - * -----------------------------------------------------------------------------------
>> - * I notice this method can also return errors from the queue disciplines,
>> - * including NET_XMIT_DROP, which is a positive value. So, errors can also
>> - * be positive.
>> - *
>> - * Regardless of the return value, the skb is consumed, so it is currently
>> - * difficult to retry a send to this method. (You can bump the ref count
>> - * before sending to hold a reference for retry if you are careful.)
>> - *
>> - * When calling this method, interrupts MUST be enabled. This is because
>> - * the BH enable code must have IRQs enabled so that it will not deadlock.
>> - * --BLG
>> + * This method can also return positive errno code from the queue
>> + * disciplines (including NET_XMIT_DROP).
>> + *
>> + * Note that regardless of the return value, the skb is consumed
>> + * anyway, so it is currently difficult to retry sending to this
>> + * method.
>
> Why drop almost half of the comment if the problem is just the ----
> banner?
I can't think of preserving delineation between actual documentation
and the quote without messing up kernel-doc.
Actually the "--BLG" signature is the culprit.
--
An old man doll... just what I always wanted! - Clara
Powered by blists - more mailing lists