]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
dccp: Port redirection support for DCCP
authorGerrit Renker <gerrit@erg.abdn.ac.uk>
Mon, 20 Oct 2008 06:36:47 +0000 (23:36 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Oct 2008 06:36:47 +0000 (23:36 -0700)
commit944f750227fa0beb2b440709687415621e2533a4
treeca4120450381f13e831de3e7cfc0bca40a68fed2
parentfd5070370c74c32b7a98090eabb46c53baf41733
dccp: Port redirection support for DCCP

Commit a3116ac5c216fc3c145906a46df9ce542ff7dcf2 from 1st October ("tcp: Port
redirection support for TCP") broke DCCP skb lookup by changing inet_csk_clone,
which is used by DCCP to generate the child socket after the handshake.

This patch updates DCCP to use 'loc_port' instead of 'sport', which fixes the
problem, and thus inheriting port redirection support via the new interface.

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: KOVACS Krisztian <hidden@sch.bme.hu>
Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dccp/ipv6.c
net/dccp/minisocks.c
net/dccp/output.c