linux-2.6.18-xen.hg ebtables panic
Subsystems (3)
PATCH 1/1 linux-2.6.18-xen.hg ebtables panic
Hi,
Could we incorporate the patch acked here into linux-2.6.18-xen.hg ?
http://www.ussg.iu.edu/hypermail/linux/kernel/0612.3/0142.html
This fixes a kernel panic when using ebtables on 2.6.18.8
Thanks
Signature · 2 lines
\o/ Pascal Bouchareine - Gandi g 0170393757 15, place de la Nation - 75011 Paris
Send it to the list as a plain-text attachment and I'll apply it.
-- Keir
Quoted 9 lines · Pascal Bouchareine
Hi,
Could we incorporate the patch acked here into linux-2.6.18-xen.hg ?
http://www.ussg.iu.edu/hypermail/linux/kernel/0612.3/0142.html
This fixes a kernel panic when using ebtables on 2.6.18.8
Thanks
Thanks, here it is.
Pascal
Quoted 9 lines · Keir Fraser
Send it to the list as a plain-text attachment and I'll apply it.
-- Keir
Quoted 5 lines
http://www.ussg.iu.edu/hypermail/linux/kernel/0612.3/0142.html
This fixes a kernel panic when using ebtables on 2.6.18.8
Thanks
Signature · 2 lines
\o/ Pascal Bouchareine - Gandi g 0170393757 15, place de la Nation - 75011 Paris
net/bridge/netfilter/ebtables.c +2 -1
@@ -597,7 +597,7 @@ ebt_check_entry(struct ebt_entry *e, strstruct 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 */
@@ -647,6 +647,7 @@ ebt_check_entry(struct ebt_entry *e, strif (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;
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel