commit | cbe2d128a01315fb4bd55b96cf8b963f5df28ea2 | [log] [tgz] |
---|---|---|
author | Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> | Sat Aug 23 05:10:12 2008 -0700 |
committer | David S. Miller <davem@davemloft.net> | Sat Aug 23 05:10:12 2008 -0700 |
tree | f110e926a365da22bc2d63402b3d7f079a391dd0 | |
parent | 23edcc4147ad36f8d55f0eb79c21e245ffb9f211 [diff] |
tcp: Add tcp_validate_incoming & put duplicated code there Large block of code duplication removed. Sadly, the return value thing is a bit tricky here but it seems the most sensible way to return positive from validator on success rather than negative. Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> Signed-off-by: David S. Miller <davem@davemloft.net>