commit | 3e4e8d126c2934803006aa8437cc444f0dc9f438 | [log] [tgz] |
---|---|---|
author | Alexander Drozdov <al.drozdov@gmail.com> | Sat May 02 19:28:01 2015 +0200 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Wed May 13 13:25:45 2015 +0200 |
tree | 75e1823ebc108c97799b1cb70744a9e9fb100dbf | |
parent | 22496f098bb80480c13636c6b66b316685eeea04 [diff] |
netfilter: ipset: make ip_set_get_ip*_port to use skb_network_offset All the ipset functions respect skb->network_header value, except for ip_set_get_ip4_port() & ip_set_get_ip6_port(). The functions should use skb_network_offset() to get the transport header offset. Signed-off-by: Alexander Drozdov <al.drozdov@gmail.com> Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>