diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2010-09-03 12:07:54 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2010-09-08 10:50:19 +0200 |
commit | 3e36a3507d03c02b11a94c7e6691efc2a2b9253f (patch) | |
tree | f5dad3fc21645122a7f496562b442f849818e149 /include | |
parent | 6e18d454004fcaff4b6064c04989db51393395e7 (diff) |
ct: fix EINVAL if not TCP attributes are set for Linux kernel <= 2.6.25
This patch fixes an EINVAL error that we hit in Linux kernel <= 2.6.25.
Basically, if we send an empty CTA_PROTOINFO_TCP attribute nest, the
kernel returns EINVAL. To fix this, we previously check if there is
any TCP attribute set.
Reported-by: Rui Sousa <rui.sousa@mindspeed.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions