History

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.

Jakub Kicinski committed 5 years ago

Commit 8a33dcc2 parents b7b98f8 6b278c019 files · +233 −39Browse files

Showing the changes to include (2 of 19 files). Show all

Unified · Split

2 files
  1. include/net/flow_dissector.h +1 −0
  2. include/net/sctp/sctp.h +3 −4
include/net/flow_dissector.h+1−0
@@ -287,6 +287,7 @@ enum flow_dissector_key_id { · 286 unmodified lines
287287 #define FLOW_DISSECTOR_F_PARSE_1ST_FRAG BIT(0)
288288 #define FLOW_DISSECTOR_F_STOP_AT_FLOW_LABEL BIT(1)
289289 #define FLOW_DISSECTOR_F_STOP_AT_ENCAP BIT(2)
290+#define FLOW_DISSECTOR_F_STOP_BEFORE_ENCAP BIT(3)
290291
291292 struct flow_dissector_key {
292293 enum flow_dissector_key_id key_id;
include/net/sctp/sctp.h+3−4
@@ -626,7 +626,8 @@ static inline __u32 sctp_min_frag_point(struct sctp_sock *sp, __u16 datasize) · 625 unmodified lines
626626
627627 static inline int sctp_transport_pl_hlen(struct sctp_transport *t)
628628 {
629− return __sctp_mtu_payload(sctp_sk(t->asoc->base.sk), t, 0, 0);
629+ return __sctp_mtu_payload(sctp_sk(t->asoc->base.sk), t, 0, 0) -
630+ sizeof(struct sctphdr);
630631 }
631632
632633 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) · 20 unmodified lines
653654 if (t->pl.state == SCTP_PL_DISABLED)
654655 return;
655656
656− if (del_timer(&t->probe_timer))
657− sctp_transport_put(t);
658−
659657 t->pl.state = SCTP_PL_BASE;
660658 t->pl.pmtu = SCTP_BASE_PLPMTU;
661659 t->pl.probe_size = SCTP_BASE_PLPMTU;
660+ sctp_transport_reset_probe_timer(t);
662661 }
663662
664663 static inline bool sctp_transport_pl_enabled(struct sctp_transport *t)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t