[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130422.162548.208159519580804410.davem@davemloft.net>
Date: Mon, 22 Apr 2013 16:25:48 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: dborkman@...hat.com
Cc: netdev@...r.kernel.org, linux-sctp@...r.kernel.org
Subject: Re: [PATCH net-next] net: sctp: minor: remove dead code from
sctp_packet
From: Daniel Borkmann <dborkman@...hat.com>
Date: Fri, 19 Apr 2013 09:59:37 +0200
> struct sctp_packet is currently embedded into sctp_transport or
> sits on the stack as 'singleton' in sctp_outq_flush(). Therefore,
> its member 'malloced' is always 0, thus a kfree() is never called.
> Because of that, we can just remove this code.
>
> Signed-off-by: Daniel Borkmann <dborkman@...hat.com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists