Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0718300c authored by Robert P. J. Day's avatar Robert P. J. Day Committed by Patrick McHardy
Browse files

[NETFILTER]: bridge netfilter: use non-deprecated __RW_LOCK_UNLOCKED macro.

parent 666953df
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -46,7 +46,7 @@ static struct ebt_table broute_table =
	.name		= "broute",
	.table		= &initial_table,
	.valid_hooks	= 1 << NF_BR_BROUTING,
	.lock		= RW_LOCK_UNLOCKED,
	.lock		= __RW_LOCK_UNLOCKED(broute_table.lock),
	.check		= check,
	.me		= THIS_MODULE,
};
+1 −1
Original line number Diff line number Diff line
@@ -55,7 +55,7 @@ static struct ebt_table frame_filter =
	.name		= "filter",
	.table		= &initial_table,
	.valid_hooks	= FILTER_VALID_HOOKS,
	.lock		= RW_LOCK_UNLOCKED,
	.lock		= __RW_LOCK_UNLOCKED(frame_filter.lock),
	.check		= check,
	.me		= THIS_MODULE,
};
+1 −1
Original line number Diff line number Diff line
@@ -55,7 +55,7 @@ static struct ebt_table frame_nat =
	.name		= "nat",
	.table		= &initial_table,
	.valid_hooks	= NAT_VALID_HOOKS,
	.lock		= RW_LOCK_UNLOCKED,
	.lock		= __RW_LOCK_UNLOCKED(frame_nat.lock),
	.check		= check,
	.me		= THIS_MODULE,
};