Re: [PATCH nf] netfilter: nft_socket: fix module autoload

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jun 07, 2018 at 05:58:47PM +0200, Pablo Neira Ayuso wrote:
> Add alias definition for module autoload when adding socket rules.
> 
> Fixes: 554ced0a6e29 ("netfilter: nf_tables: add support for native socket matching")
> Signed-off-by: Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx>

Acked-by: Máté Eckl <ecklm94@xxxxxxxxx>

> ---
>  net/netfilter/nft_socket.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/net/netfilter/nft_socket.c b/net/netfilter/nft_socket.c
> index f28a0b944087..74e1b3bd6954 100644
> --- a/net/netfilter/nft_socket.c
> +++ b/net/netfilter/nft_socket.c
> @@ -142,3 +142,4 @@ module_exit(nft_socket_module_exit);
>  MODULE_LICENSE("GPL");
>  MODULE_AUTHOR("Máté Eckl");
>  MODULE_DESCRIPTION("nf_tables socket match module");
> +MODULE_ALIAS_NFT_EXPR("socket");

I was wondering, how autoloading is achieved.

> -- 
> 2.11.0
> 
> 
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux