[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20140529.153424.1310751217059624351.davem@davemloft.net>
Date: Thu, 29 May 2014 15:34:24 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: davidn@...idnewall.com
Cc: bdschuym@...dora.be, fw@...len.de, stephen@...workplumber.org,
netdev@...r.kernel.org, netfilter-devel@...r.kernel.org,
bridge@...ts.linux-foundation.org, bsd@...hat.com,
vyasevich@...il.com
Subject: Re: Revert 462fb2af9788a82a534f8184abfde31574e1cfa0 (bridge :
Sanitize skb before it enters the IP stack)
From: David Newall <davidn@...idnewall.com>
Date: Sun, 25 May 2014 12:02:03 +0930
> + pskb_trim_rcsum(skb, len);
You really need to check the return value as this can perform allocations,
GFP_ATOMIC ones in fact.
Also, why are we not bumping the statistics any more? I didn't see a
discussion of that in this thread.
--
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