提交 516b20ee 编写于 作者: A Al Viro 提交者: David S. Miller

[SCTP]: ->a_h is gone now.

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 9fd76494
......@@ -843,7 +843,6 @@ struct sctp_transport {
/* This is the peer's IP address and port. */
union sctp_addr ipaddr;
union sctp_addr ipaddr_h;
/* These are the functions we call to handle LLP stuff. */
struct sctp_af *af_specific;
......
......@@ -62,7 +62,6 @@ static struct sctp_transport *sctp_transport_init(struct sctp_transport *peer,
{
/* Copy in the address. */
peer->ipaddr = *addr;
flip_to_h(&peer->ipaddr_h, &peer->ipaddr);
peer->af_specific = sctp_get_af_specific(addr->sa.sa_family);
peer->asoc = NULL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册