commit | 40893fd0fd4e0eda8c6a53db6a8e6013b2d44c16 | [log] [tgz] |
---|---|---|
author | Jason Wang <jasowang@redhat.com> | Tue Mar 26 23:11:22 2013 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Mar 27 12:48:31 2013 -0400 |
tree | f61f8374d9a77385ef06012256b68633edb27e2c | |
parent | 5203cd28db6dc05c3618a602cf4cf81203d00257 [diff] |
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>