diff options
author | Shreyas Bhatewara <sbhatewara@vmware.com> | 2015-06-19 22:37:03 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-06-23 15:26:00 +0200 |
commit | c41fcce997d2caa039a46495d40423348c51ad61 (patch) | |
tree | 35437d5c46e22fdc34f12ca2627bf0f4a1e6ad6a /drivers/misc/apds990x.c | |
parent | vmxnet3: Register shutdown handler for device (fwd) (diff) | |
download | linux-c41fcce997d2caa039a46495d40423348c51ad61.tar.xz linux-c41fcce997d2caa039a46495d40423348c51ad61.zip |
vmxnet3: Fix memory leaks in rx path (fwd)
If rcd length was zero, the page used for frag was not being released. It
was being replaced with a newly allocated page. This change takes care
of that memory leak.
Signed-off-by: Guolin Yang <gyang@vmware.com>
Signed-off-by: Shreyas N Bhatewara <sbhatewara@vmware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/misc/apds990x.c')
0 files changed, 0 insertions, 0 deletions