Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 425172 Details for
Bug 574370
net-misc/netifrc-0.3.1 - enable ethtool settings bonding slaves
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Tentative fix for this issue.
netifrc-0.3.1-bonding-apply-ethtool-to-slaves.patch (text/plain), 679 bytes, created by
Jonathan Thibault
on 2016-02-10 21:36:31 UTC
(
hide
)
Description:
Tentative fix for this issue.
Filename:
MIME Type:
Creator:
Jonathan Thibault
Created:
2016-02-10 21:36:31 UTC
Size:
679 bytes
patch
obsolete
>diff -ur a/netifrc-0.3.1/net/bonding.sh b/netifrc-0.3.1/net/bonding.sh >--- a/netifrc-0.3.1/net/bonding.sh 2015-01-22 18:10:16.437341577 -0500 >+++ b/netifrc-0.3.1/net/bonding.sh 2016-02-10 16:32:29.103309266 -0500 >@@ -142,7 +142,19 @@ > fi > # up the interface > _up >- fi >+ fi >+ >+ # Apply ethtool config to slaves. >+ if [ "$(command -v "ethtool_pre_start")" = "ethtool_pre_start" ]; then >+ local oiface=${IFACE} oifvar=${IFVAR} >+ for s in ${slaves}; do >+ IFACE=$s >+ IFVAR=$s >+ ethtool_pre_start >+ done >+ IFACE=$oiface >+ IFVAR=$oifvar >+ fi > > # finally add in slaves > # things needed in the process, and if they are done by ifenslave, openrc, and/or the kernel.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 574370
: 425172