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
845401fc
Commit
845401fc
authored
Apr 09, 2003
by
Jon Grimm
Committed by
Sridhar Samudrala
Apr 09, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SCTP] Enable SctpChecksumErrors stat
parent
127dbff1
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
12 deletions
+16
-12
include/net/sctp/structs.h
include/net/sctp/structs.h
+0
-1
include/net/sctp/ulpevent.h
include/net/sctp/ulpevent.h
+14
-7
net/sctp/input.c
net/sctp/input.c
+1
-3
net/sctp/sm_make_chunk.c
net/sctp/sm_make_chunk.c
+1
-1
No files found.
include/net/sctp/structs.h
View file @
845401fc
...
@@ -697,7 +697,6 @@ struct sctp_transport {
...
@@ -697,7 +697,6 @@ struct sctp_transport {
*/
*/
int
rto_pending
;
int
rto_pending
;
/*
/*
* These are the congestion stats.
* These are the congestion stats.
*/
*/
...
...
include/net/sctp/ulpevent.h
View file @
845401fc
...
@@ -10,13 +10,15 @@
...
@@ -10,13 +10,15 @@
* sctp_ulpevent type is used to carry information from the state machine
* sctp_ulpevent type is used to carry information from the state machine
* upwards to the ULP.
* upwards to the ULP.
*
*
* The SCTP reference implementation is free software;
* This file is part of the SCTP kernel reference Implementation
*
* The SCTP reference implementation is free software;
* you can redistribute it and/or modify it under the terms of
* you can redistribute it and/or modify it under the terms of
* the GNU General Public License as published by
* the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
* any later version.
*
*
*
the SCTP reference implementation
is distributed in the hope that it
*
The SCTP reference implementation
is distributed in the hope that it
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
* ************************
* ************************
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
...
@@ -27,12 +29,17 @@
...
@@ -27,12 +29,17 @@
* the Free Software Foundation, 59 Temple Place - Suite 330,
* the Free Software Foundation, 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
* Boston, MA 02111-1307, USA.
*
*
* Please send any bug reports or fixes you make to one of the
* Please send any bug reports or fixes you make to the
* following email addresses:
* email address(es):
* lksctp developers <lksctp-developers@lists.sourceforge.net>
*
* Or submit a bug report through the following website:
* http://www.sf.net/projects/lksctp
*
*
* Jon Grimm <jgrimm@us.ibm.com>
* Written or modified by:
* La Monte H.P. Yarroll <piggy@acm.org>
* Jon Grimm <jgrimm@us.ibm.com>
* Karl Knutson <karl@athena.chicago.il.us>
* La Monte H.P. Yarroll <piggy@acm.org>
* Karl Knutson <karl@athena.chicago.il.us>
*
*
* Any bugs reported given to us we will try to fix... any fixes shared will
* Any bugs reported given to us we will try to fix... any fixes shared will
* be incorporated into the next SCTP release.
* be incorporated into the next SCTP release.
...
...
net/sctp/input.c
View file @
845401fc
...
@@ -224,9 +224,7 @@ int sctp_rcv(struct sk_buff *skb)
...
@@ -224,9 +224,7 @@ int sctp_rcv(struct sk_buff *skb)
return
ret
;
return
ret
;
bad_packet:
bad_packet:
#if 0 /* FIXME */
SCTP_INC_STATS
(
SctpChecksumErrors
);
SCTP_INC_STATS(SctpInErrs);
#endif /* FIXME*/
discard_it:
discard_it:
kfree_skb
(
skb
);
kfree_skb
(
skb
);
...
...
net/sctp/sm_make_chunk.c
View file @
845401fc
...
@@ -1055,7 +1055,7 @@ sctp_chunk_t *sctp_make_chunk(const struct sctp_association *asoc,
...
@@ -1055,7 +1055,7 @@ sctp_chunk_t *sctp_make_chunk(const struct sctp_association *asoc,
sk
=
asoc
?
asoc
->
base
.
sk
:
NULL
;
sk
=
asoc
?
asoc
->
base
.
sk
:
NULL
;
retval
=
sctp_chunkify
(
skb
,
asoc
,
sk
);
retval
=
sctp_chunkify
(
skb
,
asoc
,
sk
);
if
(
!
retval
)
{
if
(
!
retval
)
{
dev_
kfree_skb
(
skb
);
kfree_skb
(
skb
);
goto
nodata
;
goto
nodata
;
}
}
...
...
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