diff options
Diffstat (limited to 'net/netlabel/netlabel_addrlist.c')
| -rw-r--r-- | net/netlabel/netlabel_addrlist.c | 13 | 
1 files changed, 6 insertions, 7 deletions
diff --git a/net/netlabel/netlabel_addrlist.c b/net/netlabel/netlabel_addrlist.c index c0519139679..d0a3acfa574 100644 --- a/net/netlabel/netlabel_addrlist.c +++ b/net/netlabel/netlabel_addrlist.c @@ -6,7 +6,7 @@   * system manages static and dynamic label mappings for network protocols such   * as CIPSO and RIPSO.   * - * Author: Paul Moore <paul.moore@hp.com> + * Author: Paul Moore <paul@paul-moore.com>   *   */ @@ -24,8 +24,7 @@   * the GNU General Public License for more details.   *   * You should have received a copy of the GNU General Public License - * along with this program;  if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * along with this program;  if not, see <http://www.gnu.org/licenses/>.   *   */ @@ -96,7 +95,7 @@ struct netlbl_af4list *netlbl_af4list_search_exact(__be32 addr,  } -#if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE) +#if IS_ENABLED(CONFIG_IPV6)  /**   * netlbl_af6list_search - Search for a matching IPv6 address entry   * @addr: IPv6 address @@ -185,7 +184,7 @@ int netlbl_af4list_add(struct netlbl_af4list *entry, struct list_head *head)  	return 0;  } -#if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE) +#if IS_ENABLED(CONFIG_IPV6)  /**   * netlbl_af6list_add - Add a new IPv6 address entry to a list   * @entry: address entry @@ -263,7 +262,7 @@ struct netlbl_af4list *netlbl_af4list_remove(__be32 addr, __be32 mask,  	return entry;  } -#if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE) +#if IS_ENABLED(CONFIG_IPV6)  /**   * netlbl_af6list_remove_entry - Remove an IPv6 address entry   * @entry: address entry @@ -342,7 +341,7 @@ void netlbl_af4list_audit_addr(struct audit_buffer *audit_buf,  	}  } -#if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE) +#if IS_ENABLED(CONFIG_IPV6)  /**   * netlbl_af6list_audit_addr - Audit an IPv6 address   * @audit_buf: audit buffer  | 
