fix a compile error in the netfilter match speedup patch for 2.6.30

SVN-Revision: 15849
lede-17.01
Felix Fietkau 2009-05-14 18:35:10 +00:00
parent c2e3ae221d
commit 8295ad3444
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@
+ int v = ((struct ipt_standard_target *)t)->verdict; + int v = ((struct ipt_standard_target *)t)->verdict;
+ if ((v < 0) && (v != IPT_RETURN)) { + if ((v < 0) && (v != IPT_RETURN)) {
+ ADD_COUNTER(e->counters, ntohs(ip->tot_len), 1); + ADD_COUNTER(e->counters, ntohs(ip->tot_len), 1);
+ read_unlock_bh(&table->lock); + xt_info_rdunlock_bh();
+ return (unsigned)(-v) - 1; + return (unsigned)(-v) - 1;
+ } + }
+ } + }