[NETFILTER]: H.323 helper: fix endless loop caused by invalid TPKT len
authorPatrick McHardy <kaber@trash.net>
Thu, 4 May 2006 06:16:29 +0000 (23:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 May 2006 06:16:29 +0000 (23:16 -0700)
commit6fd737031eb6869430d0f3cf6bf1440adf7aedf5
treef4dfd6500f1ba0b915531c3b340164e30328e20f
parente17df688f7064dae1417ce425dd1e4b71d24d63b
[NETFILTER]: H.323 helper: fix endless loop caused by invalid TPKT len

When the TPKT len included in the packet is below the lowest valid value
of 4 an underflow occurs which results in an endless loop.

Found by testcase 0000058 from the PROTOS c07-h2250v4 testsuite.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/ip_conntrack_helper_h323.c