Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 45220
b: refs/heads/master
c: 44f9a2f
h: refs/heads/master
v: v3
  • Loading branch information
Chuck Ebbert authored and David S. Miller committed Jan 4, 2007
1 parent 052d320 commit ae6cf94
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bbdc176a2f39913063aaaf95bc27e4b18fd14953
refs/heads/master: 44f9a2fdc48ccb8bb510b6e1210bf15b3e10afdb
3 changes: 2 additions & 1 deletion trunk/net/bridge/netfilter/ebtables.c
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ ebt_check_entry(struct ebt_entry *e, struct ebt_table_info *newinfo,
struct ebt_entry_target *t;
struct ebt_target *target;
unsigned int i, j, hook = 0, hookmask = 0;
size_t gap = e->next_offset - e->target_offset;
size_t gap;
int ret;

/* don't mess with the struct ebt_entries */
Expand Down Expand Up @@ -660,6 +660,7 @@ ebt_check_entry(struct ebt_entry *e, struct ebt_table_info *newinfo,
if (ret != 0)
goto cleanup_watchers;
t = (struct ebt_entry_target *)(((char *)e) + e->target_offset);
gap = e->next_offset - e->target_offset;
target = find_target_lock(t->u.name, &ret, &ebt_mutex);
if (!target)
goto cleanup_watchers;
Expand Down

0 comments on commit ae6cf94

Please sign in to comment.