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: <1424384042.4942.132.camel@edumazet-glaptop2.roam.corp.google.com>
Date:	Thu, 19 Feb 2015 14:14:02 -0800
From:	Eric Dumazet <eric.dumazet@...il.com>
To:	Steve Glendinning <steve@...well.net>
Cc:	netdev <netdev@...r.kernel.org>, popcorn mix <popcornmix@...il.com>
Subject: Re: smsc95xx truesize badness

On Thu, 2015-02-19 at 18:58 +0000, Steve Glendinning wrote:

> This is triggering warnings for many Raspberry Pi users due to Eric's
> patch to catch truesize offenders.  It's a fair cop.
> 
> Before I submit a patch to remove these two truesize lines, I believe
> it's safe to just do so but can anyone confirm if removing them will
> have any adverse impact?

If you simply remove the lines, skb->truesize might be big enough to
slow down TCP noticeably.

I would rather use something like commit
a9e0aca4b37885b5599e52211f098bd7f565e749
("asix: asix_rx_fixup surgery to reduce skb truesizes")

Idea is to 'copybreak' tiny frames.


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