projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sctp: rename WORD_TRUNC/ROUND macros
[cascardo/linux.git]
/
net
/
sctp
/
transport.c
diff --git
a/net/sctp/transport.c
b/net/sctp/transport.c
index
81b8667
..
ce54dce
100644
(file)
--- a/
net/sctp/transport.c
+++ b/
net/sctp/transport.c
@@
-233,7
+233,7
@@
void sctp_transport_pmtu(struct sctp_transport *transport, struct sock *sk)
}
if (transport->dst) {
}
if (transport->dst) {
- transport->pathmtu =
WORD_TRUNC
(dst_mtu(transport->dst));
+ transport->pathmtu =
SCTP_TRUNC4
(dst_mtu(transport->dst));
} else
transport->pathmtu = SCTP_DEFAULT_MAXSEGMENT;
}
} else
transport->pathmtu = SCTP_DEFAULT_MAXSEGMENT;
}
@@
-287,7
+287,7
@@
void sctp_transport_route(struct sctp_transport *transport,
return;
}
if (transport->dst) {
return;
}
if (transport->dst) {
- transport->pathmtu =
WORD_TRUNC
(dst_mtu(transport->dst));
+ transport->pathmtu =
SCTP_TRUNC4
(dst_mtu(transport->dst));
/* Initialize sk->sk_rcv_saddr, if the transport is the
* association's active path for getsockname().
/* Initialize sk->sk_rcv_saddr, if the transport is the
* association's active path for getsockname().