Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
b5b16620
Commit
b5b16620
authored
Jan 21, 2003
by
Jon Grimm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SCTP] Fix merge conflicts.
parent
030ce1c7
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
6 deletions
+7
-6
include/net/sctp/sctp.h
include/net/sctp/sctp.h
+1
-1
include/net/sctp/structs.h
include/net/sctp/structs.h
+2
-1
net/sctp/associola.c
net/sctp/associola.c
+2
-2
net/sctp/input.c
net/sctp/input.c
+2
-2
No files found.
include/net/sctp/sctp.h
View file @
b5b16620
...
@@ -168,7 +168,7 @@ extern void sctp_unhash_endpoint(sctp_endpoint_t *);
...
@@ -168,7 +168,7 @@ extern void sctp_unhash_endpoint(sctp_endpoint_t *);
extern
void
__sctp_unhash_endpoint
(
sctp_endpoint_t
*
);
extern
void
__sctp_unhash_endpoint
(
sctp_endpoint_t
*
);
extern
sctp_association_t
*
__sctp_lookup_association
(
const
union
sctp_addr
*
,
extern
sctp_association_t
*
__sctp_lookup_association
(
const
union
sctp_addr
*
,
const
union
sctp_addr
*
,
const
union
sctp_addr
*
,
s
ctp_transport_
t
**
);
s
truct
sctp_transpor
t
**
);
/*
/*
* sctp_hashdriver.c
* sctp_hashdriver.c
...
...
include/net/sctp/structs.h
View file @
b5b16620
...
@@ -940,7 +940,8 @@ int sctp_outq_set_output_handlers(struct sctp_outq *,
...
@@ -940,7 +940,8 @@ int sctp_outq_set_output_handlers(struct sctp_outq *,
sctp_outq_ohandler_t
build
,
sctp_outq_ohandler_t
build
,
sctp_outq_ohandler_force_t
force
);
sctp_outq_ohandler_force_t
force
);
void
sctp_outq_restart
(
struct
sctp_outq
*
);
void
sctp_outq_restart
(
struct
sctp_outq
*
);
void
sctp_retransmit
(
struct
sctp_outq
*
,
struct
sctp_transport
*
,
__u8
);
void
sctp_retransmit
(
struct
sctp_outq
*
,
struct
sctp_transport
*
,
sctp_retransmit_reason_t
);
void
sctp_retransmit_mark
(
struct
sctp_outq
*
,
struct
sctp_transport
*
,
__u8
);
void
sctp_retransmit_mark
(
struct
sctp_outq
*
,
struct
sctp_transport
*
,
__u8
);
...
...
net/sctp/associola.c
View file @
b5b16620
...
@@ -954,7 +954,7 @@ struct sctp_transport *sctp_assoc_choose_shutdown_transport(sctp_association_t *
...
@@ -954,7 +954,7 @@ struct sctp_transport *sctp_assoc_choose_shutdown_transport(sctp_association_t *
*/
*/
void
sctp_assoc_sync_pmtu
(
sctp_association_t
*
asoc
)
void
sctp_assoc_sync_pmtu
(
sctp_association_t
*
asoc
)
{
{
s
ctp_transport_
t
*
t
;
s
truct
sctp_transpor
t
*
t
;
struct
list_head
*
pos
;
struct
list_head
*
pos
;
__u32
pmtu
=
0
;
__u32
pmtu
=
0
;
...
@@ -963,7 +963,7 @@ void sctp_assoc_sync_pmtu(sctp_association_t *asoc)
...
@@ -963,7 +963,7 @@ void sctp_assoc_sync_pmtu(sctp_association_t *asoc)
/* Get the lowest pmtu of all the transports. */
/* Get the lowest pmtu of all the transports. */
list_for_each
(
pos
,
&
asoc
->
peer
.
transport_addr_list
)
{
list_for_each
(
pos
,
&
asoc
->
peer
.
transport_addr_list
)
{
t
=
list_entry
(
pos
,
s
ctp_transport_
t
,
transports
);
t
=
list_entry
(
pos
,
s
truct
sctp_transpor
t
,
transports
);
if
(
!
pmtu
||
(
t
->
pmtu
<
pmtu
))
if
(
!
pmtu
||
(
t
->
pmtu
<
pmtu
))
pmtu
=
t
->
pmtu
;
pmtu
=
t
->
pmtu
;
}
}
...
...
net/sctp/input.c
View file @
b5b16620
...
@@ -259,7 +259,7 @@ int sctp_backlog_rcv(struct sock *sk, struct sk_buff *skb)
...
@@ -259,7 +259,7 @@ int sctp_backlog_rcv(struct sock *sk, struct sk_buff *skb)
/* Handle icmp frag needed error. */
/* Handle icmp frag needed error. */
static
inline
void
sctp_icmp_frag_needed
(
struct
sock
*
sk
,
static
inline
void
sctp_icmp_frag_needed
(
struct
sock
*
sk
,
sctp_association_t
*
asoc
,
sctp_association_t
*
asoc
,
s
ctp_transport_
t
*
transport
,
s
truct
sctp_transpor
t
*
transport
,
__u32
pmtu
)
__u32
pmtu
)
{
{
if
(
!
sock_owned_by_user
(
sk
)
&&
transport
&&
(
transport
->
pmtu
!=
pmtu
))
{
if
(
!
sock_owned_by_user
(
sk
)
&&
transport
&&
(
transport
->
pmtu
!=
pmtu
))
{
...
@@ -296,7 +296,7 @@ void sctp_v4_err(struct sk_buff *skb, __u32 info)
...
@@ -296,7 +296,7 @@ void sctp_v4_err(struct sk_buff *skb, __u32 info)
struct
sock
*
sk
=
NULL
;
struct
sock
*
sk
=
NULL
;
sctp_endpoint_t
*
ep
=
NULL
;
sctp_endpoint_t
*
ep
=
NULL
;
sctp_association_t
*
asoc
=
NULL
;
sctp_association_t
*
asoc
=
NULL
;
s
ctp_transport_
t
*
transport
;
s
truct
sctp_transpor
t
*
transport
;
int
err
;
int
err
;
if
(
skb
->
len
<
((
iph
->
ihl
<<
2
)
+
8
))
{
if
(
skb
->
len
<
((
iph
->
ihl
<<
2
)
+
8
))
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment