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] [thread-next>] [day] [month] [year] [list]
Message-Id: <20140805.130346.2080401893280146356.davem@davemloft.net>
Date:	Tue, 05 Aug 2014 13:03:46 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	thomas1206@...il.com
Cc:	netdev@...r.kernel.org, haiyangz@...rosoft.com, kys@...rosoft.com,
	olaf@...fle.de, jasowang@...hat.com, linux-kernel@...r.kernel.org,
	driverdev-devel@...uxdriverproject.org
Subject: Re: [PATCH net-next] hyperv: Increase the buffer length for
 netvsc_channel_cb()

From: Haiyang Zhang <thomas1206@...il.com>
Date: Fri,  1 Aug 2014 15:55:30 +0000

> When the buffer is too small for a packet from VMBus, a bigger buffer will be
> allocated in netvsc_channel_cb() and retry reading the packet from VMBus.
> Increasing this buffer size will reduce the retry overhead.
> 
> Signed-off-by: Haiyang Zhang <haiyangz@...rosoft.com>
> Reviewed-by: Dexuan Cui <decui@...rosoft.com>

I'm not applying this, sorry.

I said that because the structure that contains this buffer is now
larger than a page, you should allocate the CB buffer externally
via another kmalloc() or via the page allocator.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ