Skip to content

Commit

Permalink
sock_diag: Move the SOCK_DIAG_BY_FAMILY cmd declaration
Browse files Browse the repository at this point in the history
It should belong to sock_diag, not inet_diag.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Pavel Emelyanov authored and David S. Miller committed Dec 16, 2011
1 parent b26e478 commit e7c466e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion include/linux/inet_diag.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
/* Just some random number */
#define TCPDIAG_GETSOCK 18
#define DCCPDIAG_GETSOCK 19
#define SOCK_DIAG_BY_FAMILY 20

#define INET_DIAG_GETSOCK_MAX 24

Expand Down
3 changes: 3 additions & 0 deletions include/linux/sock_diag.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#ifndef __SOCK_DIAG_H__
#define __SOCK_DIAG_H__

#define SOCK_DIAG_BY_FAMILY 20

struct sk_buff;
struct nlmsghdr;

Expand Down

0 comments on commit e7c466e

Please sign in to comment.