From: Jason Wang Date: Tue, 26 Mar 2013 23:11:21 +0000 (+0000) Subject: net: core: introduce skb_probe_transport_header() X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~308 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5203cd28db6dc05c3618a602cf4cf81203d00257;p=pandora-kernel.git net: core: introduce skb_probe_transport_header() Sometimes, we need probe and set the transport header for packets (e.g from untrusted source). This patch introduces a new helper skb_probe_transport_header() which tries to probe and set the l4 header through skb_flow_dissect(), if not just set the transport header to the hint passed by caller. Cc: Eric Dumazet Signed-off-by: Jason Wang Acked-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed