You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Vlad Yasevich
5f19d1219a
SCTP: Free the per-net sysctl table on net exit. v2
Per-net sysctl table needs to be explicitly freed at
net exit. Otherwise we see the following with kmemleak:
unreferenced object 0xffff880402d08000 (size 2048):
comm "chrome_sandbox", pid 18437, jiffies 4310887172 (age 9097.630s)
hex dump (first 32 bytes):
b2 68 89 81 ff ff ff ff 20 04 04 f8 01 88 ff ff .h...... .......
04 00 00 00 a4 01 00 00 00 00 00 00 00 00 00 00 ................
backtrace:
[<ffffffff815b4aad>] kmemleak_alloc+0x21/0x3e
[<ffffffff81110352>] slab_post_alloc_hook+0x28/0x2a
[<ffffffff81113fad>] __kmalloc_track_caller+0xf1/0x104
[<ffffffff810f10c2>] kmemdup+0x1b/0x30
[<ffffffff81571e9f>] sctp_sysctl_net_register+0x1f/0x72
[<ffffffff8155d305>] sctp_net_init+0x100/0x39f
[<ffffffff814ad53c>] ops_init+0xc6/0xf5
[<ffffffff814ad5b7>] setup_net+0x4c/0xd0
[<ffffffff814ada5e>] copy_net_ns+0x6d/0xd6
[<ffffffff810938b1>] create_new_namespaces+0xd7/0x147
[<ffffffff810939f4>] copy_namespaces+0x63/0x99
[<ffffffff81076733>] copy_process+0xa65/0x1233
[<ffffffff81077030>] do_fork+0x10b/0x271
[<ffffffff8100a0e9>] sys_clone+0x23/0x25
[<ffffffff815dda73>] stub_clone+0x13/0x20
[<ffffffffffffffff>] 0xffffffffffffffff
I fixed the spelling of sysctl_header so the code actually
compiles. -- EWB.
Reported-by: Martin Mokrejs <mmokrejs@fold.natur.cuni.cz>
Signed-off-by: Vlad Yasevich <vyasevich@gmail.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
|
12 years ago |
.. |
9p
|
virtio: 9p: correctly pass physical address to userspace for high pages
|
12 years ago |
802
|
…
|
|
8021q
|
8021q: fix vlan device to inherit the unicast filtering capability flag
|
12 years ago |
appletalk
|
…
|
|
atm
|
atm: use scnprintf() instead of sprintf()
|
12 years ago |
ax25
|
…
|
|
batman-adv
|
batman-adv: filter ARP packets with invalid MAC addresses in DAT
|
12 years ago |
bluetooth
|
Bluetooth: Check if the hci connection exists in SCO shutdown
|
12 years ago |
bridge
|
bridge: add empty br_mdb_init() and br_mdb_uninit() definitions.
|
12 years ago |
caif
|
caif_usb: Make the driver name check more efficient
|
12 years ago |
can
|
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
|
12 years ago |
ceph
|
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client
|
12 years ago |
core
|
net: net_cls: fd passed in SCM_RIGHTS datagram not set correctly
|
12 years ago |
dcb
|
net: Allow DCBnl to use other namespaces besides init_net
|
12 years ago |
dccp
|
inet: Fix kmemleak in tcp_v4/6_syn_recv_sock and dccp_v4/6_request_recv_sock
|
12 years ago |
decnet
|
net: Push capable(CAP_NET_ADMIN) into the rtnl methods
|
12 years ago |
dns_resolver
|
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security
|
12 years ago |
dsa
|
dsa: Hide core config options; make drivers select what they need
|
12 years ago |
ethernet
|
…
|
|
ieee802154
|
6lowpan: consider checksum bytes in fragmentation threshold
|
12 years ago |
ipv4
|
IP_GRE: Fix kernel panic in IP_GRE with GRE csum.
|
12 years ago |
ipv6
|
ip6mr: limit IPv6 MRT_TABLE identifiers
|
12 years ago |
ipx
|
…
|
|
irda
|
TTY/Serial merge for 3.8-rc1
|
12 years ago |
iucv
|
s390/irq: remove split irq fields from /proc/stat
|
12 years ago |
key
|
net: Allow userns root to control llc, netfilter, netlink, packet, and xfrm
|
12 years ago |
l2tp
|
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
|
12 years ago |
lapb
|
…
|
|
llc
|
net: Allow userns root to control llc, netfilter, netlink, packet, and xfrm
|
12 years ago |
mac80211
|
mac80211: add encrypt headroom to PERR frames
|
12 years ago |
mac802154
|
mac802154: fix NOHZ local_softirq_pending 08 warning
|
12 years ago |
netfilter
|
netfilter: x_tables: print correct hook names for ARP
|
12 years ago |
netlabel
|
…
|
|
netlink
|
netlink: validate addr_len on bind
|
12 years ago |
netrom
|
…
|
|
nfc
|
nfc: remove noisy message from llcp_sock_sendmsg
|
12 years ago |
openvswitch
|
openvswitch: Use RCU callback when detaching netdevices.
|
12 years ago |
packet
|
net: Allow userns root to control llc, netfilter, netlink, packet, and xfrm
|
12 years ago |
phonet
|
net: Push capable(CAP_NET_ADMIN) into the rtnl methods
|
12 years ago |
rds
|
IB/rds: suppress incompatible protocol when version is known
|
12 years ago |
rfkill
|
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
|
12 years ago |
rose
|
…
|
|
rxrpc
|
Merge branch 'modules-next' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux
|
13 years ago |
sched
|
net: sched: integer overflow fix
|
12 years ago |
sctp
|
SCTP: Free the per-net sysctl table on net exit. v2
|
12 years ago |
sunrpc
|
NFS client bugfixe for Linux 3.8
|
12 years ago |
tipc
|
tipc: refactor accept() code for improved readability
|
12 years ago |
unix
|
net: Don't export sysctls to unprivileged users
|
12 years ago |
wanrouter
|
…
|
|
wimax
|
…
|
|
wireless
|
net, wireless: overwrite default_ethtool_ops
|
12 years ago |
x25
|
…
|
|
xfrm
|
xfrm: fix freed block size calculation in xfrm_policy_fini()
|
12 years ago |
Kconfig
|
…
|
|
Makefile
|
ipv6: Preserve ipv6 functionality needed by NET
|
12 years ago |
compat.c
|
…
|
|
nonet.c
|
…
|
|
socket.c
|
cgroup: net_cls: Rework update socket logic
|
12 years ago |
sysctl_net.c
|
user_ns: get rid of duplicate code in net_ctl_permissions
|
12 years ago |