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:	Tue, 04 Jun 2013 17:36:12 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	dborkman@...hat.com
Cc:	tgraf@...g.ch, netdev@...r.kernel.org, horms@...ge.net.au,
	dborkmann@...hat.com
Subject: Re: [PATCH net-next v2] pktgen: Fix position of ip and udp header

From: Daniel Borkmann <dborkman@...hat.com>
Date: Tue, 04 Jun 2013 00:03:00 +0200

> On 06/03/2013 11:49 PM, Thomas Graf wrote:
>> skb_set_network_header() expects an offset based on the data pointer
>> whereas skb_tail_offset() also includes the headroom. This resulted
>> in the ip header being written in a wrong location.
>>
>> Use return values of skb_put() directly and rely on skb->len to
>> set mac, network, and transport header.
>>
>> Cc: Simon Horman <horms@...ge.net.au>
>> Cc: Daniel Borkmann <dborkmann@...hat.com>
>> Assisted-by: Daniel Borkmann <dborkmann@...hat.com>
>> Signed-off-by: Thomas Graf <tgraf@...g.ch>
> 
> Thanks !
> 
> Acked-by: Daniel Borkmann <dborkmann@...hat.com>

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