tproxy: add lookup type checks for UDP in nf_tproxy_get_sock_v4()
authorBalazs Scheidler <bazsi@balabit.hu>
Thu, 21 Oct 2010 10:47:34 +0000 (12:47 +0200)
committerPatrick McHardy <kaber@trash.net>
Thu, 21 Oct 2010 10:47:34 +0000 (12:47 +0200)
Also, inline this function as the lookup_type is always a literal
and inlining removes branches performed at runtime.

Signed-off-by: Balazs Scheidler <bazsi@balabit.hu>
Signed-off-by: KOVACS Krisztian <hidden@balabit.hu>
Signed-off-by: Patrick McHardy <kaber@trash.net>

No differences found