tcp: Add tcp_validate_incoming & put duplicated code there
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
Sat, 23 Aug 2008 12:10:12 +0000 (05:10 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 23 Aug 2008 12:10:12 +0000 (05:10 -0700)
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>

No differences found