Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Merge in the fixes we had queued in case there was another -rc. Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
@@ -287,6 +287,7 @@ enum flow_dissector_key_id {
|
||||
#define FLOW_DISSECTOR_F_PARSE_1ST_FRAG BIT(0)
|
||||
#define FLOW_DISSECTOR_F_STOP_AT_FLOW_LABEL BIT(1)
|
||||
#define FLOW_DISSECTOR_F_STOP_AT_ENCAP BIT(2)
|
||||
#define FLOW_DISSECTOR_F_STOP_BEFORE_ENCAP BIT(3)
|
||||
|
||||
struct flow_dissector_key {
|
||||
enum flow_dissector_key_id key_id;
|
||||
|
||||
@@ -626,7 +626,8 @@ static inline __u32 sctp_min_frag_point(struct sctp_sock *sp, __u16 datasize)
|
||||
|
||||
static inline int sctp_transport_pl_hlen(struct sctp_transport *t)
|
||||
{
|
||||
return __sctp_mtu_payload(sctp_sk(t->asoc->base.sk), t, 0, 0);
|
||||
return __sctp_mtu_payload(sctp_sk(t->asoc->base.sk), t, 0, 0) -
|
||||
sizeof(struct sctphdr);
|
||||
}
|
||||
|
||||
static inline void sctp_transport_pl_reset(struct sctp_transport *t)
|
||||
@@ -653,12 +654,10 @@ static inline void sctp_transport_pl_update(struct sctp_transport *t)
|
||||
if (t->pl.state == SCTP_PL_DISABLED)
|
||||
return;
|
||||
|
||||
if (del_timer(&t->probe_timer))
|
||||
sctp_transport_put(t);
|
||||
|
||||
t->pl.state = SCTP_PL_BASE;
|
||||
t->pl.pmtu = SCTP_BASE_PLPMTU;
|
||||
t->pl.probe_size = SCTP_BASE_PLPMTU;
|
||||
sctp_transport_reset_probe_timer(t);
|
||||
}
|
||||
|
||||
static inline bool sctp_transport_pl_enabled(struct sctp_transport *t)
|
||||
|
||||
Reference in New Issue
Block a user