]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[IPVS]: Flag synced connections and expose them in proc
authorRumen G. Bogdanovski <rumen@voicecho.com>
Tue, 20 Nov 2007 05:52:42 +0000 (21:52 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:54:21 +0000 (14:54 -0800)
commit7a4fbb1fa46e1a84c246e7bcd99bff45935bf114
tree1aa51598889bc8a4b2130d96cdaca5f65cd27c6e
parentc237899d1f8c5bfcfc9d6204052e0e065827ff75
[IPVS]: Flag synced connections and expose them in proc

This patch labels the sync-created connections with IP_VS_CONN_F_SYNC
flag and creates /proc/net/ip_vs_conn_sync to enable monitoring of the
origin of the connections, if they are local or created by the
synchronization.

Signed-off-by: Rumen G. Bogdanovski <rumen@voicecho.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ipvs/ip_vs_conn.c
net/ipv4/ipvs/ip_vs_sync.c