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 <eduma...@google.com> > Signed-off-by: Jason Wang <jasow...@redhat.com> > --- > 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 <eduma...@google.com> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/