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
7b3a0a8c
Commit
7b3a0a8c
authored
Apr 28, 2003
by
Sridhar Samudrala
Browse files
Options
Browse Files
Download
Plain Diff
Merge us.ibm.com:/home/sridhar/BK/lksctp-2.5.work
into us.ibm.com:/home/sridhar/BK/lksctp-2.5.68
parents
611860e8
849b7661
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
2 deletions
+16
-2
net/sctp/chunk.c
net/sctp/chunk.c
+2
-2
net/sctp/ipv6.c
net/sctp/ipv6.c
+14
-0
No files found.
net/sctp/chunk.c
View file @
7b3a0a8c
...
...
@@ -77,8 +77,8 @@ static void sctp_datamsg_destroy(struct sctp_datamsg *msg)
struct
sctp_chunk
*
chunk
;
struct
sctp_opt
*
sp
;
struct
sctp_ulpevent
*
ev
;
struct
sctp_association
*
asoc
;
int
error
,
notify
;
struct
sctp_association
*
asoc
=
NULL
;
int
error
=
0
,
notify
;
/* If we failed, we may need to notify. */
notify
=
msg
->
send_failed
?
-
1
:
0
;
...
...
net/sctp/ipv6.c
View file @
7b3a0a8c
...
...
@@ -537,6 +537,20 @@ struct sock *sctp_v6_create_accept_sk(struct sock *sk,
newinet
->
dport
=
htons
(
asoc
->
peer
.
port
);
newnp
->
daddr
=
asoc
->
peer
.
primary_addr
.
v6
.
sin6_addr
;
/* Init the ipv4 part of the socket since we can have sockets
* using v6 API for ipv4.
*/
newinet
->
ttl
=
sysctl_ip_default_ttl
;
newinet
->
mc_loop
=
1
;
newinet
->
mc_ttl
=
1
;
newinet
->
mc_index
=
0
;
newinet
->
mc_list
=
NULL
;
if
(
ipv4_config
.
no_pmtu_disc
)
newinet
->
pmtudisc
=
IP_PMTUDISC_DONT
;
else
newinet
->
pmtudisc
=
IP_PMTUDISC_WANT
;
#ifdef INET_REFCNT_DEBUG
atomic_inc
(
&
inet6_sock_nr
);
atomic_inc
(
&
inet_sock_nr
);
...
...
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