Re: [PATCH net-next 3/3] net: switch to useskb_probe_transport_header()

From: Eric Dumazet
Date: Wed Mar 27 2013 - 10:46:50 EST


On Wed, 2013-03-27 at 17:11 +0800, Jason Wang wrote:
> 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 <edumazet@xxxxxxxxxx>
> Signed-off-by: Jason Wang <jasowang@xxxxxxxxxx>
> ---
> 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 <edumazet@xxxxxxxxxx>


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/