commit | e5e693ab49a95e1994979972eea224eefa81eba9 | [log] [tgz] |
---|---|---|
author | Gao Feng <fgao@ikuai8.com> | Sat Jul 23 19:21:47 2016 +0800 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Fri Aug 12 00:41:08 2016 +0200 |
tree | cf3ea62e374b6fcbeba3aa4cc089b61b3f57718d | |
parent | f08aff444ae0004c9ae6df3241fc313a5024d375 [diff] |
netfilter: conntrack: Only need first 4 bytes to get l4proto ports We only need first 4 bytes instead of 8 bytes to get the ports of tcp/udp/dccp/sctp/udplite in their pkt_to_tuple function. Signed-off-by: Gao Feng <fgao@ikuai8.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>