This patch fixes a 0x10-ptr dereference in __xfrm4_find_acq ;)
0x231 <__xfrm4_find_acq+241>: incl 0x10
Best regards,
Patrick
# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
# ChangeSet 1.1210 -> 1.1211
# net/ipv4/xfrm4_state.c 1.3 -> 1.4
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/05/13 kaber@trash.net 1.1211
# [IPSEC] fix typo
# --------------------------------------------
#
diff -Nru a/net/ipv4/xfrm4_state.c b/net/ipv4/xfrm4_state.c
--- a/net/ipv4/xfrm4_state.c Tue May 13 04:22:50 2003
+++ b/net/ipv4/xfrm4_state.c Tue May 13 04:22:50 2003
@@ -101,7 +101,7 @@
x0->lft.hard_add_expires_seconds = XFRM_ACQ_EXPIRES;
xfrm_state_hold(x0);
mod_timer(&x0->timer, jiffies + XFRM_ACQ_EXPIRES*HZ);
- xfrm_state_hold(0);
+ xfrm_state_hold(x0);
list_add_tail(&x0->bydst, xfrm4_state_afinfo.state_bydst+h);
wake_up(&km_waitq);
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Thu May 15 2003 - 22:00:43 EST