commit | 357afe9c46c951c34769e39cabdf8d1637e2eecc | [log] [tgz] |
---|---|---|
author | Nikolay Aleksandrov <nikolay@redhat.com> | Wed Oct 02 13:39:24 2013 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Oct 03 15:36:37 2013 -0400 |
tree | 4313ee038c1557c1aa36ec594a0aa20e545ca2df | |
parent | 5080546682bae3d32734b18e281091684f0ebbe4 [diff] |
flow_dissector: factor out the ports extraction in skb_flow_get_ports Factor out the code that extracts the ports from skb_flow_dissect and add a new function skb_flow_get_ports which can be re-used. Suggested-by: Veaceslav Falico <vfalico@redhat.com> Signed-off-by: Nikolay Aleksandrov <nikolay@redhat.com> Acked-by: Eric Dumazet <edumazet@google.com> Reviewed-by: Veaceslav Falico <vfalico@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>