Thread (75 messages) 75 messages, 6 authors, 2008-06-30

Re: [PATCH 00/26] IPVS: Add first IPv6 support to IPVS.

From: Patrick McHardy <hidden>
Date: 2008-06-11 19:37:09
Also in: lvs-devel

Julius Volz wrote:
On Wed, Jun 11, 2008 at 9:10 PM, Patrick McHardy [off-list ref] wrote:
  
quoted
Julius Volz wrote:
    
quoted
ipvsadm uses get/set-sockopts on a raw socket to pass commands and
structs (as defined in include/net/ip_vs.h) to the kernel. So the
passed structs have to match exactly between userspace and kernel. The
kernel ip_vs.h also includes a version number that is used to verify
that ipvsadm matches your kernel version.
      
So they define an ABI, which means they must not be changed in
incompabtible ways. The question is whether they are actually
changed in incomaptible ways.
    
It is clearly laid out to be able to be changed over time, hence the
ipvsadm version check... 
The usual way is to add new members at the end. The history shows no
changes at all to these structs though.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help