Skip to content

Commit

Permalink
netlink: kconfig: move mmap i/o into netlink kconfig
Browse files Browse the repository at this point in the history
Currently, in menuconfig, Netlink's new mmaped IO is the very first
entry under the ``Networking support'' item and comes even before
``Networking options'':

  [ ]   Netlink: mmaped IO
  Networking options  --->
  ...

Lets move this into ``Networking options'' under netlink's Kconfig,
since this might be more appropriate. Introduced by commit ccdfcc3
(``netlink: mmaped netlink: ring setup'').

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Daniel Borkmann authored and David S. Miller committed May 1, 2013
1 parent bd7c4b6 commit ee1bec9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
9 changes: 0 additions & 9 deletions net/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,6 @@ menuconfig NET

if NET

config NETLINK_MMAP
bool "Netlink: mmaped IO"
help
This option enables support for memory mapped netlink IO. This
reduces overhead by avoiding copying data between kernel- and
userspace.

If unsure, say N.

config WANT_COMPAT_NETLINK_MESSAGES
bool
help
Expand Down
9 changes: 9 additions & 0 deletions net/netlink/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@
# Netlink Sockets
#

config NETLINK_MMAP
bool "NETLINK: mmaped IO"
---help---
This option enables support for memory mapped netlink IO. This
reduces overhead by avoiding copying data between kernel- and
userspace.

If unsure, say N.

config NETLINK_DIAG
tristate "NETLINK: socket monitoring interface"
default n
Expand Down

0 comments on commit ee1bec9

Please sign in to comment.