Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 297315 Details for
Bug 396427
macvlan net module fails if macvlan is built into the kernel (not a module)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
remove-check-macvlan.patch
remove-check-macvlan.patch (text/plain), 765 bytes, created by
William Hubbs
on 2011-12-29 17:00:40 UTC
(
hide
)
Description:
remove-check-macvlan.patch
Filename:
MIME Type:
Creator:
William Hubbs
Created:
2011-12-29 17:00:40 UTC
Size:
765 bytes
patch
obsolete
>diff --git a/net/macvlan.sh b/net/macvlan.sh >index b8a8ffa..fb5fcdb 100644 >--- a/net/macvlan.sh >+++ b/net/macvlan.sh >@@ -24,17 +24,6 @@ _is_macvlan() > [ -n "$(export RC_SVCNAME="net.${IFACE}"; service_get_value macvlan)" ] > } > >-_check_macvlan() >-{ >- if [ ! -d /sys/module/macvlan ]; then >- modprobe macvlan >- if [ ! -d /sys/module/macvlan ]; then >- eerror "MAC-VLAN support is not present in this kernel" >- return 1 >- fi >- fi >-} >- > macvlan_pre_start() > { > # MAC-VLAN needs an existing interface to link to >@@ -42,8 +31,6 @@ macvlan_pre_start() > eval macvlan=\$macvlan_${IFVAR} > [ -z "${macvlan}" ] && return 0 > >- _check_macvlan || return 1 >- > case " ${MODULES} " in > *" ifconfig "*) > eerror "sys-apps/iproute2 is required to configure MACVLANs"
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 Raw
Actions:
View
Attachments on
bug 396427
: 297315