Thread (4 messages) 4 messages, 2 authors, 2008-05-30

Re: [PATCH net-next] IPv6 address labels per namespace - v2

From: YOSHIFUJI Hideaki / 吉藤英明 <hidden>
Date: 2008-05-29 07:38:39

In article [ref] (at Wed, 28 May 2008 14:51:24 +0200), Benjamin Thery [off-list ref] says:
This pacth makes IPv6 address labels per network namespace.
It keeps the global label tables, ip6addrlbl_table, but 
adds a 'net' member to each ip6addrlbl_entry.
This new member is taken into account when matching labels.

Changelog
=========
* v1: Initial version 
* v2:
  * Minize the penalty when network namespaces are not configured:
      *  the 'net' member is added only if CONFIG_NET_NS is 
         defined. This saves space when network namespaces are not 
         configured.
      * 'net' value is retrieved with the inlined function 
         ip6addrlbl_net() that always return &init_net when 
         CONFIG_NET_NS is not defined.
  * 'net' member in ip6addrlbl_entry renamed to the less generic 
    'lbl_net' name (helps code search).

Signed-off-by: Benjamin Thery <redacted>
I'm going to apply this.  Thank you.

--yoshfuji
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help