net: switch to use skb_probe_transport_header()
authorJason Wang <jasowang@redhat.com>
Tue, 26 Mar 2013 23:11:22 +0000 (23:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Mar 2013 16:48:31 +0000 (12:48 -0400)
commit40893fd0fd4e0eda8c6a53db6a8e6013b2d44c16
treef61f8374d9a77385ef06012256b68633edb27e2c
parent5203cd28db6dc05c3618a602cf4cf81203d00257
net: switch to use skb_probe_transport_header()

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@google.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/macvtap.c
drivers/net/tun.c
drivers/net/xen-netback/netback.c
net/packet/af_packet.c