SHA256
1
0
forked from pool/libvirt
libvirt/AF_PACKET.patch
James Fehlig 0027057c64 - Update to libvirt 0.10.1
- Bug fix release for critical bugs in 0.10.0
  - Drop upstream patch f781e276-xen-driver-fix.patch

- Update to libvirt 0.10.0
  - agent: add qemuAgentArbitraryCommand()
  - Introduce virDomainPinEmulator and virDomainGetEmulatorPinInfo
  - network: use firewalld instead of iptables, when available
  - network: make network driver vlan-aware
  - esx: Implement network driver
  - driver for parallels hypervisor
  - Various LXC improvements
  - Add virDomainGetHostname
  - Drop upstream patches
    4036aa91-systemd.patch
    6039a2cb-CVE-2012-3445.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=226
2012-09-12 15:08:18 +00:00

27 lines
1.0 KiB
Diff

Index: libvirt-0.10.1/src/util/virnetdev.c
===================================================================
--- libvirt-0.10.1.orig/src/util/virnetdev.c
+++ libvirt-0.10.1/src/util/virnetdev.c
@@ -83,7 +83,7 @@ static int virNetDevSetupControlFull(con
static int virNetDevSetupControl(const char *ifname,
struct ifreq *ifr)
{
- return virNetDevSetupControlFull(ifname, ifr, AF_PACKET, SOCK_DGRAM);
+ return virNetDevSetupControlFull(ifname, ifr, AF_INET, SOCK_STREAM);
}
#endif
Index: libvirt-0.10.1/src/util/virnetdevbridge.c
===================================================================
--- libvirt-0.10.1.orig/src/util/virnetdevbridge.c
+++ libvirt-0.10.1/src/util/virnetdevbridge.c
@@ -84,7 +84,7 @@ static int virNetDevSetupControlFull(con
static int virNetDevSetupControl(const char *ifname,
struct ifreq *ifr)
{
- return virNetDevSetupControlFull(ifname, ifr, AF_PACKET, SOCK_DGRAM);
+ return virNetDevSetupControlFull(ifname, ifr, AF_INET, SOCK_STREAM);
}
#endif