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]
Date:	Wed, 27 Aug 2008 05:56:18 -0400
From:	Jeff Garzik <jgarzik@...ox.com>
To:	frank.blaschka@...ibm.com
CC:	netdev@...r.kernel.org, linux-s390@...r.kernel.org
Subject: Re: [patch 3/3] qeth: preallocated header account offset

frank.blaschka@...ibm.com wrote:
> From: Frank Blaschka <frank.blaschka@...ibm.com>
> 
> When a preallocated header qdio buffer is filled we have to account
> the offset for the data length.
> 
> Signed-off-by: Frank Blaschka <frank.blaschka@...ibm.com>
> ---
> 
>  drivers/s390/net/qeth_core_main.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> Index: git_linus/drivers/s390/net/qeth_core_main.c
> ===================================================================
> --- git_linus.orig/drivers/s390/net/qeth_core_main.c	2008-08-15 07:51:59.000000000 +0200
> +++ git_linus/drivers/s390/net/qeth_core_main.c	2008-08-15 07:52:18.000000000 +0200
> @@ -3024,7 +3024,7 @@
>  	struct qdio_buffer *buffer, int is_tso, int *next_element_to_fill,
>  	int offset)
>  {
> -	int length = skb->len;
> +	int length = skb->len - offset;
>  	int length_here;

applied 1-3


--
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