: SCTP conntrack: fix association restart
PATCH 6/8 : SCTP conntrack: fix association restart
# This is a BitKeeper generated diff -Nru style patch. #
# ChangeSet
# 2005/03/03 23:18:41+01:00 [email protected]
# [NETFILTER]: SCTP conntrack: fix association restart
#
# Signed-off-by: Patrick McHardy <[email protected]>
#
# net/ipv4/netfilter/ip_conntrack_proto_sctp.c # 2005/03/03 23:18:33+01:00 [email protected] +2 -2 # [NETFILTER]: SCTP conntrack: fix association restart # # Signed-off-by: Patrick McHardy <[email protected]> # diff -Nru a/net/ipv4/netfilter/ip_conntrack_proto_sctp.c b/net/ipv4/netfilter/ip_conntrack_proto_sctp.c --- a/net/ipv4/netfilter/ip_conntrack_proto_sctp.c 2005-03-03 23:36:00 +01:00 +++ b/net/ipv4/netfilter/ip_conntrack_proto_sctp.c 2005-03-03 23:36:00 +01:00 @@ -400,8 +400,8 @@ return -1; } DEBUGP("Setting vtag %x for dir %d\n", - ih->init_tag, CTINFO2DIR(ctinfo)); - conntrack->proto.sctp.vtag[IP_CT_DIR_ORIGINAL] = ih->init_tag; + ih->init_tag, !CTINFO2DIR(ctinfo)); + conntrack->proto.sctp.vtag[!CTINFO2DIR(ctinfo)] = ih->init_tag; }
conntrack->proto.sctp.state = newconntrack;