]> git.baikalelectronics.ru Git - kernel.git/commit
ipvs: Move userspace definitions to include/linux/ip_vs.h
authorJulius Volz <juliusv@google.com>
Fri, 1 Aug 2008 03:45:24 +0000 (20:45 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Aug 2008 03:45:24 +0000 (20:45 -0700)
commit8a340d04ea3d7951176c15b540a663cfb12e8c64
tree908712225413cacafdea5bdf3b33072d7c616355
parenta83e0cf534943155c3ac2ad0379ed3db7c0fbac0
ipvs: Move userspace definitions to include/linux/ip_vs.h

Current versions of ipvsadm include "/usr/src/linux/include/net/ip_vs.h"
directly. This file also contains kernel-only definitions. Normally, public
definitions should live in include/linux, so this patch moves the
definitions shared with userspace to a new file, "include/linux/ip_vs.h".

This also removes the unused NFC_IPVS_PROPERTY bitmask, which was once
used to point into skb->nfcache.

To make old ipvsadms still compile with this, the old header file includes
the new one.

Thanks to Dave Miller and Horms for noting/adding the missing Kbuild entry
for the new header file.

Signed-off-by: Julius Volz <juliusv@google.com>
Acked-by: Simon Horman <horms@verge.net.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/Kbuild
include/linux/ip_vs.h [new file with mode: 0644]
include/net/ip_vs.h