lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100808.201717.133866941.davem@davemloft.net>
Date:	Sun, 08 Aug 2010 20:17:17 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	kzjeef@...il.com
Cc:	netdev@...r.kernel.org, error27@...il.com
Subject: Re: [PATCH] xfrm: fix a possible leak of dev reference count.

From: Zhang JieJing <kzjeef@...il.com>
Date: Sun, 8 Aug 2010 21:34:12 +0800

> call dev_put(dev) on error path.
> 
> Signed-off-by: JieJing.Zhang <kzjeef@...il.com>

There is no leak, the caller will dst_free() the dst and at
such time the device at dst->dev will be released.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ