From: Eric Dumazet <redacted>
Date: Wed, 27 Mar 2013 07:46:42 -0700
On Wed, 2013-03-27 at 17:11 +0800, Jason Wang wrote:
quoted
Switch to use the new help skb_probe_transport_header() to do the l4 header
probing for untrusted sources. For packets with partial csum, the header should
already been set by skb_partial_csum_set().
Cc: Eric Dumazet <redacted>
Signed-off-by: Jason Wang <redacted>
---
drivers/net/macvtap.c | 9 +--------
drivers/net/tun.c | 10 +---------
drivers/net/xen-netback/netback.c | 10 +---------
net/packet/af_packet.c | 22 +++-------------------
4 files changed, 6 insertions(+), 45 deletions(-)
Acked-by: Eric Dumazet <redacted>
Applied.