[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200612205147.GC69216@lunn.ch>
Date: Fri, 12 Jun 2020 22:51:47 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Aditya Pakki <pakki001@....edu>
Cc: kjlu@....edu, wu000273@....edu,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: Fix a potential incorrect error handling in
rawsock_connect
On Fri, Jun 12, 2020 at 03:37:43PM -0500, Aditya Pakki wrote:
> In rawsock_connect, the device is allocated by calling nfc_get_device.
> In case of incorrect bounds index, the device should be freed by
> calling nfc_put_device. The patch fixes this issue.
Hi Aditya
Putting nfc in the Subject: would of been nice.
People are more likely to review your patch if they can easily spot it
modifies some core they are interested in. The name of the driver, or
the subsystem in net/ is something that people look out for.
You might also want to read the netdev FAQ.
Andrew
Powered by blists - more mailing lists