Thread (2 messages) flat view 2 messages, 2 authors, 2020-06-12

Re: [PATCH] net: Fix a potential incorrect error handling in rawsock_connect

From: Andrew Lunn <andrew@lunn.ch>
Date: 2020-06-12 20:51:54
Also in: lkml

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help