Skip to content

Commit 3174a94

Browse files
committed
Merge branch 'sctp-rename-sctp-diag-file-and-add-file-comments-for-it'
Xin Long says: ==================== sctp: rename sctp diag file and add file comments for it This patchset is to remove the sctp_ prefix for sctp diag file, and also to add the missing file comments for it. v1->v2: split them into two patches as Marcelo suggested. ==================== Acked-by: Neil Horman <nhorman@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2 parents 6c67775 + 6f68dc9 commit 3174a94

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

net/sctp/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ sctp-y := sm_statetable.o sm_statefuns.o sm_sideeffect.o \
1515
offload.o stream_sched.o stream_sched_prio.o \
1616
stream_sched_rr.o stream_interleave.o
1717

18+
sctp_diag-y := diag.o
19+
1820
sctp-$(CONFIG_SCTP_DBG_OBJCNT) += objcnt.o
1921
sctp-$(CONFIG_PROC_FS) += proc.o
2022
sctp-$(CONFIG_SYSCTL) += sysctl.o

net/sctp/sctp_diag.c renamed to net/sctp/diag.c

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,34 @@
1+
/* SCTP kernel implementation
2+
* (C) Copyright Red Hat Inc. 2017
3+
*
4+
* This file is part of the SCTP kernel implementation
5+
*
6+
* These functions implement sctp diag support.
7+
*
8+
* This SCTP implementation is free software;
9+
* you can redistribute it and/or modify it under the terms of
10+
* the GNU General Public License as published by
11+
* the Free Software Foundation; either version 2, or (at your option)
12+
* any later version.
13+
*
14+
* This SCTP implementation is distributed in the hope that it
15+
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
16+
* ************************
17+
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18+
* See the GNU General Public License for more details.
19+
*
20+
* You should have received a copy of the GNU General Public License
21+
* along with GNU CC; see the file COPYING. If not, see
22+
* <http://www.gnu.org/licenses/>.
23+
*
24+
* Please send any bug reports or fixes you make to the
25+
* email addresched(es):
26+
* lksctp developers <linux-sctp@vger.kernel.org>
27+
*
28+
* Written or modified by:
29+
* Xin Long <lucien.xin@gmail.com>
30+
*/
31+
132
#include <linux/module.h>
233
#include <linux/inet_diag.h>
334
#include <linux/sock_diag.h>

0 commit comments

Comments
 (0)