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: <95DC1AA8EC908B48939B72CF375AA5E3013A99124D@alice.at.omicron.at>
Date:	Mon, 9 Jan 2012 08:16:01 +0100
From:	Manfred Rudigier <manfred.rudigier@...cron.at>
To:	David Miller <davem@...emloft.net>
CC:	"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
	"afleming@...escale.com" <afleming@...escale.com>,
	"avorontsov@...sta.com" <avorontsov@...sta.com>
Subject: RE: [PATCH] gianfar: Fix invalid TX frames returned on error queue
 when time stamping.

From: David Miller [mailto:davem@...emloft.net]
Sent: Thursday, January 05, 2012 19:27

>From: Manfred Rudigier <manfred.rudigier@...cron.at>
>Date: Thu, 5 Jan 2012 15:50:21 +0100
>
>> +
>> +		/* Keep sock if we must return a time stamp on the err queue */
>> +		skb_new->sk = skb->sk;
>
>When I see something like this without any kind of reference counting or
>similar, I am gravely concerned.

The skb_tstamp_tx function called during gfar_clean_tx_ring requires the skb->sk pointer to be set. Otherwise no time stamp can be queued on the socket error queue. 
What would be the correct way for doing this?

Regards,
Manfred
--
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