Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 493122 - net-misc/openvswitch-2.0.0 - prevent tracebacks on interface state change
Summary: net-misc/openvswitch-2.0.0 - prevent tracebacks on interface state change
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Low minor (vote)
Assignee: Tiziano Müller (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-12-02 10:53 UTC by Andrey Korolyov
Modified: 2013-12-11 03:05 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Updated ebuild (openvswitch-2.0.0-r1.ebuild,4.60 KB, text/plain)
2013-12-02 10:54 UTC, Andrey Korolyov
Details
Patch (prevent-traceback.patch,3.51 KB, patch)
2013-12-02 10:55 UTC, Andrey Korolyov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Korolyov 2013-12-02 10:53:32 UTC
There is a small update for openvswitch ebuild to prevent traces like following:

[880412.991922] device vnet0 entered promiscuous mode
[884930.554518] ------------[ cut here ]------------
[884930.554528] WARNING: at net/core/dev.c:4953 rollback_registered_many+0x16a/0x1bc()
[884930.554530] Modules linked in: kvm_intel kvm openvswitch(O) sctp mac80211 cfg80211 rfcomm bnep vhost_net macvtap macvlan xt_nat ipt_MASQUERADE iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT xt_CHECKSUM iptable_mangle xt_tcpudp bridge stp llc ip6table_filter ip6_tables iptable_filter ip_tables ebtable_nat ebtables x_tables hid_logitech_dj nfs lockd sunrpc hdaps(O) tp_smapi(O) thinkpad_ec(O) ipv6 loop tun joydev nvidia(PO) qcserial usb_wwan usb_storage usbserial btusb bluetooth hid_generic coretemp acpi_cpufreq mperf sdhci_pci sdhci xhci_hcd mmc_core firewire_ohci psmouse pcspkr i2c_i801 lpc_ich firewire_core thinkpad_acpi mfd_core e1000e nvram hwmon i2c_core rfkill video ptp pps_core backlight [last unloaded: kvm]
[884930.554600] CPU: 0 PID: 11424 Comm: qemu-system-x86 Tainted: P        W  O 3.10.7 #1
[884930.554602] Hardware name: LENOVO 4318CTO/4318CTO, BIOS 6NET84WW (1.45 ) 10/03/2012
[884930.554605]  ffffffff814f3589 0000000000000000 ffffffff8109561a 000000000000003b
[884930.554609]  0000000000000000 ffff8805caa78000 ffff8805caa78000 ffff880107bb7e08
[884930.554613]  ffff8805caa78000 ffff8808118a0001 ffffffff8144c11c ffff8805caa78000
[884930.554617] Call Trace:
[884930.554623]  [<ffffffff814f3589>] ? dump_stack+0xd/0x17
[884930.554630]  [<ffffffff8109561a>] ? warn_slowpath_common+0x5f/0x77
[884930.554634]  [<ffffffff8144c11c>] ? rollback_registered_many+0x16a/0x1bc
[884930.554637]  [<ffffffff8144c1e3>] ? rollback_registered+0x25/0x3a
[884930.554641]  [<ffffffff8144dd10>] ? unregister_netdevice_queue+0x62/0x90
[884930.554647]  [<ffffffffa005c263>] ? __tun_detach+0x1dd/0x214 [tun]
[884930.554653]  [<ffffffff8113a8d6>] ? kmem_cache_free+0x15a/0x16f
[884930.554658]  [<ffffffffa005c2bd>] ? tun_chr_close+0x23/0x41 [tun]
[884930.554663]  [<ffffffff8114eaaf>] ? __fput+0xf8/0x1fd
[884930.554669]  [<ffffffff810acb1a>] ? task_work_run+0x86/0x9c
[884930.554673]  [<ffffffff81001b9a>] ? do_notify_resume+0x52/0x64
[884930.554678]  [<ffffffff814f8722>] ? int_signal+0x12/0x17
[884930.554680] ---[ end trace 4595895154d2dda4 ]---

Reproducible: Always
Comment 1 Andrey Korolyov 2013-12-02 10:54:39 UTC
Created attachment 364436 [details]
Updated ebuild
Comment 2 Andrey Korolyov 2013-12-02 10:55:09 UTC
Created attachment 364438 [details, diff]
Patch
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2013-12-02 11:57:20 UTC
Comment on attachment 364436 [details]
Updated ebuild

--- openvswitch-2.0.0.ebuild    2013-11-28 18:38:33.757739429 +0100
+++ -   2013-12-02 12:57:14.173406348 +0100
@@ -53,6 +53,7 @@
        sed -i \
                -e '/^SUBDIRS/d' \
                datapath/Makefile.in || die "sed failed"
+       epatch "${FILESDIR}"/prevent-traceback.patch
 }
 src_configure() {
        set_arch_to_kernel
Comment 4 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2013-12-11 03:05:37 UTC
fixed, thanks :D