Merge branch 'master' of git://1984.lsi.us.es/net

This commit is contained in:
David S. Miller 2012-04-03 19:15:48 -04:00
commit 9b461783d3
3 changed files with 5 additions and 3 deletions

View File

@ -58,8 +58,8 @@ struct xt_set_info_target_v1 {
struct xt_set_info_target_v2 {
struct xt_set_info add_set;
struct xt_set_info del_set;
u32 flags;
u32 timeout;
__u32 flags;
__u32 timeout;
};
#endif /*_XT_SET_H*/

View File

@ -47,7 +47,7 @@ static void sb_close(struct sbuff *m)
if (likely(m != &emergency))
kfree(m);
else {
xchg(&emergency_ptr, m);
emergency_ptr = m;
local_bh_enable();
}
}

View File

@ -281,8 +281,10 @@ static int xt_ct_tg_check_v1(const struct xt_tgchk_param *par)
info->ct = ct;
return 0;
#ifdef CONFIG_NF_CONNTRACK_TIMEOUT
err4:
rcu_read_unlock();
#endif
err3:
nf_conntrack_free(ct);
err2: