|
@@ -191,13 +191,7 @@ static void sctp_print_tuple(struct seq_file *s,
|
|
|
/* Print out the private part of the conntrack. */
|
|
|
static void sctp_print_conntrack(struct seq_file *s, struct nf_conn *ct)
|
|
|
{
|
|
|
- enum sctp_conntrack state;
|
|
|
-
|
|
|
- spin_lock_bh(&ct->lock);
|
|
|
- state = ct->proto.sctp.state;
|
|
|
- spin_unlock_bh(&ct->lock);
|
|
|
-
|
|
|
- seq_printf(s, "%s ", sctp_conntrack_names[state]);
|
|
|
+ seq_printf(s, "%s ", sctp_conntrack_names[ct->proto.sctp.state]);
|
|
|
}
|
|
|
|
|
|
#define for_each_sctp_chunk(skb, sch, _sch, offset, dataoff, count) \
|