netfilter updates for 3.3-rc5
Subsystems (4)
[email protected]
maintainerPATCH 1/1 netfilter updates for 3.3-rc5
From: Pablo Neira Ayuso <[email protected]>
Hi David,
This update contains one fix from Florian Westphal for the module autoload for ebtables.
You can pull this changes from:
git://1984.lsi.us.es/net master
Thanks!
Florian Westphal (1):
netfilter: bridge: fix module autoload in compat case
net/bridge/netfilter/ebtables.c | 10 ++-------- 1 files changed, 2 insertions(+), 8 deletions(-)
Signature · 1 line
1.7.7.3
[email protected]
maintainerPATCH 1/1 netfilter: bridge: fix module autoload in compat case
From: Florian Westphal <[email protected]>
We expected 0 if module doesn't exist, which is no longer the case (42046e2e45c109ba703993c510401a11f716c8df,
netfilter: x_tables: return -ENOENT for non-existant matches/targets).
--- net/bridge/netfilter/ebtables.c | 10 ++-------- 1 files changed, 2 insertions(+), 8 deletions(-)
net/bridge/netfilter/ebtables.c +2 -8
@@ -1893,10 +1893,7 @@ static int compat_mtw_from_user(struct compat_ebt_entry_mwt *mwt,switch (compat_mwt) {case EBT_COMPAT_MATCH : - match =try_then_request_module (xt_find_match (NFPROTO_BRIDGE , - name,0 ),"ebt_%s" , name); -if (match ==NULL ) -return -ENOENT ; + match =xt_request_find_match (NFPROTO_BRIDGE , name,0 );if (IS_ERR (match))return PTR_ERR (match);
@@ -1915,10 +1912,7 @@ static int compat_mtw_from_user(struct compat_ebt_entry_mwt *mwt,break ;case EBT_COMPAT_WATCHER :/* fallthrough */ case EBT_COMPAT_TARGET : - wt =try_then_request_module (xt_find_target (NFPROTO_BRIDGE , - name,0 ),"ebt_%s" , name); -if (wt ==NULL ) -return -ENOENT ; + wt =xt_request_find_target (NFPROTO_BRIDGE , name,0 );if (IS_ERR (wt))return PTR_ERR (wt); off =xt_compat_target_offset (wt);
Signature · 1 line
1.7.7.3
David Miller
maintainerFrom: [email protected]
Date: Thu, 1 Mar 2012 12:02:18 +0100
Quoted 6 lines
This update contains one fix from Florian Westphal for the module autoload for ebtables.
You can pull this changes from:
git://1984.lsi.us.es/netmaster
Pulled, thanks Pablo.