]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[TCPDIAG]: Implement cheapest way of supporting DCCPDIAG_GETSOCK
authorArnaldo Carvalho de Melo <acme@mandriva.com>
Wed, 10 Aug 2005 08:54:28 +0000 (05:54 -0300)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 29 Aug 2005 22:56:23 +0000 (15:56 -0700)
commit540722ffc3a0d7e11d97a13e1ce6f3bc23b061c1
tree0d750a23bc5e5e65ae4fd7baef237476398ca2ec
parent6687e988d9aeaccad6774e6a8304f681f3ec0a03
[TCPDIAG]: Implement cheapest way of supporting DCCPDIAG_GETSOCK

With ugly ifdefs, etc, but this actually:

1. keeps the existing ABI, i.e. no need to recompile the iproute2
   utilities if not interested in DCCP.

2. Provides all the tcp_diag functionality in DCCP, with just a
   small patch that makes iproute2 support DCCP.

Of course I'll get this cleaned-up in time, but for now I think its
OK to be this way to quickly get this functionality.

iproute2-ss050808 patch at:

http://vger.kernel.org/~acme/iproute2-ss050808.dccp.patch

Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/tcp_diag.h
net/dccp/ipv4.c
net/ipv4/tcp_diag.c