netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: net-next: warnings from sysctl_net_exit
@ 2011-02-27 22:37 Lucian Adrian Grijincu
  2011-02-27 23:34 ` David Miller
  2011-02-28  0:08 ` Stephen Hemminger
  0 siblings, 2 replies; 10+ messages in thread
From: Lucian Adrian Grijincu @ 2011-02-27 22:37 UTC (permalink / raw)
  To: Stephen Hemminger, David S. Miller, netdev

Stephen Hemminger <shemminger <at> vyatta.com> writes:
> [26207.669740]  [<ffffffff814154ad>] ? sysctl_net_exit+0x2a/0x2c
> [26207.669742]  [<ffffffff8136144e>] ? ops_exit_list+0x2a/0x5b
> [26207.669745]  [<ffffffff813618f0>] ? cleanup_net+0xfa/0x19a


David: it looks like someone registered a /proc/sys table with
register_net_sysctl_table but forgot to remove it (or someone wrote
something in the 'struct net*' and buffer overflowed into
&net->sysctls.list).

Stephen, can you post a `ls -R /proc/sys/net/` from before the dmesg
message appeared?

The check is triggered at network namespace deletion, so a moment
before deleting the netns should be fine.


-- 
 .
..: Lucian

^ permalink raw reply	[flat|nested] 10+ messages in thread
* net-next: warnings from sysctl_net_exit
@ 2011-02-27  0:56 Stephen Hemminger
  2011-02-27  6:23 ` David Miller
  0 siblings, 1 reply; 10+ messages in thread
From: Stephen Hemminger @ 2011-02-27  0:56 UTC (permalink / raw)
  To: Alexey Dobriyan, David Miller; +Cc: netdev

Seeing lots of these messages in dmesg. Something is broken
recently in net-next.


[26207.669668] ------------[ cut here ]------------
[26207.669673] WARNING: at net/sysctl_net.c:84 sysctl_net_exit+0x2a/0x2c()
[26207.669675] Hardware name: System Product Name
[26207.669676] Modules linked in: ip6table_filter ip6_tables nfs lockd fscache nfs_acl auth_rpcgss sunrpc binfmt_misc ebtable_nat ebtables ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack ipt_REJECT xt_tcpudp iptable_filter ip_tables x_tables bridge stp llc kvm_intel kvm snd_hda_codec_analog lm63 snd_hda_intel snd_hda_codec snd_hwdep radeon pl2303 snd_pcm snd_seq_midi snd_rawmidi snd_seq_midi_event ttm drm_kms_helper snd_seq drm usbserial i7core_edac snd_timer snd_seq_device snd sky2 e1000e edac_core psmouse igb serio_raw soundcore snd_page_alloc i2c_algo_bit asus_atk0110 hid_belkin usbhid hid pata_marvell ahci libahci dca floppy btrfs lzo_compress zlib_deflate crc32c libcrc32c
[26207.669725] Pid: 67, comm: kworker/u:5 Tainted: G        W   2.6.38-rc5-net-next+ #38
[26207.669726] Call Trace:
[26207.669731]  [<ffffffff81040dd2>] ? warn_slowpath_common+0x85/0x9d
[26207.669735]  [<ffffffff813617f6>] ? cleanup_net+0x0/0x19a
[26207.669738]  [<ffffffff81040e04>] ? warn_slowpath_null+0x1a/0x1c
[26207.669740]  [<ffffffff814154ad>] ? sysctl_net_exit+0x2a/0x2c
[26207.669742]  [<ffffffff8136144e>] ? ops_exit_list+0x2a/0x5b
[26207.669745]  [<ffffffff813618f0>] ? cleanup_net+0xfa/0x19a
[26207.669749]  [<ffffffff810575c1>] ? process_one_work+0x233/0x3aa
[26207.669752]  [<ffffffff81057528>] ? process_one_work+0x19a/0x3aa
[26207.669755]  [<ffffffff810599c2>] ? worker_thread+0x13b/0x25a
[26207.669757]  [<ffffffff81059887>] ? worker_thread+0x0/0x25a
[26207.669760]  [<ffffffff8105d0f5>] ? kthread+0x9d/0xa5
[26207.669763]  [<ffffffff8106d618>] ? trace_hardirqs_on_caller+0x10c/0x130
[26207.669766]  [<ffffffff810030d4>] ? kernel_thread_helper+0x4/0x10
[26207.669770]  [<ffffffff8142f300>] ? restore_args+0x0/0x30
[26207.669772]  [<ffffffff8105d058>] ? kthread+0x0/0xa5
[26207.669774]  [<ffffffff810030d0>] ? kernel_thread_helper+0x0/0x10
[26207.669776] ---[ end trace 0cd6e119ada0eab1 ]---

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-03-02  7:09 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-27 22:37 net-next: warnings from sysctl_net_exit Lucian Adrian Grijincu
2011-02-27 23:34 ` David Miller
2011-02-28  0:49   ` Lucian Adrian Grijincu
2011-02-28  0:08 ` Stephen Hemminger
2011-02-28  1:11   ` Lucian Adrian Grijincu
2011-02-28 22:02     ` Stephen Hemminger
2011-03-02  7:09     ` Stephen Hemminger
  -- strict thread matches above, loose matches on Subject: below --
2011-02-27  0:56 Stephen Hemminger
2011-02-27  6:23 ` David Miller
2011-02-27 18:45   ` Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).