aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2013-07-25 10:37:49 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2013-08-01 11:42:53 +0200
commit71ffe9c77dd7a2b62207953091efa8dafec958dd (patch)
treed0251ec9b294378915562e50a62ae095616d5430 /tools/perf/scripts/python/export-to-postgresql.py
parentmlx5: fix error return code in mlx5_alloc_uuars() (diff)
downloadlinux-dev-71ffe9c77dd7a2b62207953091efa8dafec958dd.tar.xz
linux-dev-71ffe9c77dd7a2b62207953091efa8dafec958dd.zip
netfilter: xt_TCPMSS: fix handling of malformed TCP header and options
Make sure the packet has enough room for the TCP header and that it is not malformed. While at it, store tcph->doff*4 in a variable, as it is used several times. This patch also fixes a possible off by one in case of malformed TCP options. Reported-by: Julian Anastasov <ja@ssi.bg> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions