[Bug 900396] Re: Regression with applications which expects bind(AF_UNSPEC) with INADDR_ANY to work

2012-01-23 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 2.6.32-38.83

---
linux (2.6.32-38.83) lucid-proposed; urgency=low

  [Herton R. Krzesinski]

  * Release Tracking Bug
- LP: #911405

  [ Upstream Kernel Changes ]

  * Revert clockevents: Set noop handler in clockevents_exchange_device()
- LP: #911392
  * Linux 2.6.32.52
- LP: #911392

linux (2.6.32-38.82) lucid-proposed; urgency=low

  [Herton R. Krzesinski]

  * Release Tracking Bug
- LP: #910906

  [ Tetsuo Handa ]

  * SAUCE: netns: Add quota for number of NET_NS instances.

  [ Tim Gardner ]

  * [Config] CONFIG_NET_NS=y
- LP: #790863

  [ Upstream Kernel Changes ]

  * Revert core: Fix memory leak/corruption on VLAN GRO_DROP,
CVE-2011-1576
  * hfs: fix hfs_find_init() sb-ext_tree NULL ptr oops, CVE-2011-2203
- LP: #899466
- CVE-2011-2203
  * net: ipv4: relax AF_INET check in bind()
- LP: #900396
  * KEYS: Fix a NULL pointer deref in the user-defined key type,
CVE-2011-4110
- LP: #894369
- CVE-2011-4110
  * i2c-algo-bit: Generate correct i2c address sequence for 10-bit target
- LP: #902317
  * eCryptfs: Extend array bounds for all filename chars
- LP: #902317
  * PCI hotplug: shpchp: don't blindly claim non-AMD 0x7450 device IDs
- LP: #902317
  * ARM: 7161/1: errata: no automatic store buffer drain
- LP: #902317
  * ALSA: lx6464es - fix device communication via command bus
- LP: #902317
  * SUNRPC: Ensure we return EAGAIN in xs_nospace if congestion is cleared
- LP: #902317
  * timekeeping: add arch_offset hook to ktime_get functions
- LP: #902317
  * p54spi: Add missing spin_lock_init
- LP: #902317
  * p54spi: Fix workqueue deadlock
- LP: #902317
  * nl80211: fix MAC address validation
- LP: #902317
  * gro: reset vlan_tci on reuse
- LP: #902317
  * staging: usbip: bugfix for deadlock
- LP: #902317
  * staging: comedi: fix oops for USB DAQ devices.
- LP: #902317
  * Staging: comedi: fix signal handling in read and write
- LP: #902317
  * USB: whci-hcd: fix endian conversion in qset_clear()
- LP: #902317
  * usb: ftdi_sio: add PID for Propox ISPcable III
- LP: #902317
  * usb: option: add SIMCom SIM5218
- LP: #902317
  * USB: usb-storage: unusual_devs entry for Kingston DT 101 G2
- LP: #902317
  * SCSI: scsi_lib: fix potential NULL dereference
- LP: #902317
  * SCSI: Silencing 'killing requests for dead queue'
- LP: #902317
  * cifs: fix cifs stable patch cifs-fix-oplock-break-handling-try-2.patch
- LP: #902317
  * sched, x86: Avoid unnecessary overflow in sched_clock
- LP: #902317
  * x86/mpparse: Account for bus types other than ISA and PCI
- LP: #902317
  * oprofile, x86: Fix crash when unloading module (nmi timer mode)
- LP: #902317
  * genirq: Fix race condition when stopping the irq thread
- LP: #902317
  * tick-broadcast: Stop active broadcast device when replacing it
- LP: #902317
  * clockevents: Set noop handler in clockevents_exchange_device()
- LP: #902317
  * Linux 2.6.32.50
- LP: #902317
  * nfsd4: permit read opens of executable-only files
- LP: #833300
  * ipv6: Allow inet6_dump_addr() to handle more than 64 addresses
- LP: #863394
  * ALSA: sis7019 - give slow codecs more time to reset
- LP: #907774
  * ALSA: hda/realtek - Fix Oops in alc_mux_select()
- LP: #907774
  * ARM: davinci: dm646x evm: wrong register used in
setup_vpif_input_channel_mode
- LP: #907774
  * oprofile: Free potentially owned tasks in case of errors
- LP: #907774
  * oprofile: Fix locking dependency in sync_start()
- LP: #907774
  * percpu: fix chunk range calculation
- LP: #907774
  * xfrm: Fix key lengths for rfc3686(ctr(aes))
- LP: #907774
  * linux/log2.h: Fix rounddown_pow_of_two(1)
- LP: #907774
  * jbd/jbd2: validate sb-s_first in journal_get_superblock()
- LP: #907774
  * hfs: fix hfs_find_init() sb-ext_tree NULL ptr oops
- LP: #907774
  * export __get_user_pages_fast() function
- LP: #907774
  * oprofile, x86: Fix nmi-unsafe callgraph support
- LP: #907774
  * oprofile, x86: Fix crash when unloading module (timer mode)
- LP: #907774
  * ext4: avoid hangs in ext4_da_should_update_i_disksize()
- LP: #907774
  * USB: cdc-acm: add IDs for Motorola H24 HSPA USB module.
- LP: #907774
  * Linux 2.6.32.51
- LP: #907774
 -- Herton Ronaldo Krzesinski herton.krzesin...@canonical.com   Tue, 03 Jan 
2012 16:51:53 -0200

** Changed in: linux (Ubuntu Lucid)
   Status: Fix Committed = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/900396

Title:
  Regression with applications which expects bind(AF_UNSPEC) with
  INADDR_ANY to work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/900396/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com

[Bug 900396] Re: Regression with applications which expects bind(AF_UNSPEC) with INADDR_ANY to work

2012-01-20 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 3.0.0-15.25

---
linux (3.0.0-15.25) oneiric-proposed; urgency=low

  [Brad Figg]

  * Release Tracking Bug
- LP: #910894

  [ Upstream Kernel Changes ]

  * Revert clockevents: Set noop handler in clockevents_exchange_device()
- LP: #904569

linux (3.0.0-15.24) oneiric-proposed; urgency=low

  [Herton R. Krzesinski]

  * Release Tracking Bug
- LP: #903188

  [ Alex Bligh ]

  * (config) Change Xen paravirt drivers to be built-in
- LP: #886521

  [ Chase Douglas ]

  * Revert SAUCE: HID: hid-ntrig: add support for 1b96:0006 model
- LP: #724831
  * Revert SAUCE: hid: ntrig: Remove unused device ids
- LP: #724831

  [ Seth Forshee ]

  * SAUCE: dell-wmi: Demote unknown WMI event message to pr_debug
- LP: #581312

  [ Upstream Kernel Changes ]

  * Revert leds: save the delay values after a successful call to
blink_set()
- LP: #893741
  * xfs: Fix possible memory corruption in xfs_readlink, CVE-2011-4077
- LP: #887298
- CVE-2011-4077
  * drm/i915: fix IVB cursor support
- LP: #893222
  * drm/i915: always set FDI composite sync bit
- LP: #893222
  * jbd/jbd2: validate sb-s_first in journal_get_superblock()
- LP: #893148
- CVE-2011-4132
  * ALSA: hda - Don't add elements of other codecs to vmaster slave
- LP: #893741
  * virtio-pci: fix use after free
- LP: #893741
  * ASoC: Don't use wm8994-control_data in wm8994_readable_register()
- LP: #893741
  * sh: Fix cached/uncaced address calculation in 29bit mode
- LP: #893741
  * drm/i915: Fix object refcount leak on mmappable size limit error path.
- LP: #893741
  * drm/nouveau: initialize chan-fence.lock before use
- LP: #893741
  * drm/radeon/kms: make an aux failure debug only
- LP: #893741
  * ALSA: usb-audio - Check the dB-range validity in the later read, too
- LP: #893741
  * ALSA: usb-audio - Fix the missing volume quirks at delayed init
- LP: #893741
  * KEYS: Fix a NULL pointer deref in the user-defined key type
- LP: #893741
  * hfs: add sanity check for file name length
- LP: #893741
  * drm/radeon: add some missing FireMV pci ids
- LP: #893741
  * sfi: table irq 0xFF means 'no interrupt'
- LP: #893741
  * x86, mrst: use a temporary variable for SFI irq
- LP: #893741
  * b43: refuse to load unsupported firmware
- LP: #893741
  * md/raid5: abort any pending parity operations when array fails.
- LP: #893741
  * mfd: Fix twl4030 dependencies for audio codec
- LP: #893741
  * xen:pvhvm: enable PVHVM VCPU placement when using more than 32 CPUs.
- LP: #893741
  * xen-gntalloc: integer overflow in gntalloc_ioctl_alloc()
- LP: #893741
  * xen-gntalloc: signedness bug in add_grefs()
- LP: #893741
  * powerpc/ps3: Fix lost SMP IPIs
- LP: #893741
  * powerpc: Copy down exception vectors after feature fixups
- LP: #893741
  * backing-dev: ensure wakeup_timer is deleted
- LP: #893741
  * block: Always check length of all iov entries in blk_rq_map_user_iov()
- LP: #893741
  * Linux 3.0.10
- LP: #893741
  * drm/i915: add multi-threaded forcewake support
- LP: #891270
  * (pre-stable) HID: bump maximum global item tag report size to 96 bytes
- LP: #724831
  * eCryptfs: Prevent file create race condition
- LP: #813146
  * eCryptfs: Flush file in vma close
- LP: #870326
  * drm/i915: Fix inconsistent backlight level during disabled
- LP: #872652
  * fix WARNING: at drivers/scsi/scsi_lib.c:1704
- LP: #897514
  * hpsa: Disable ASPM
- LP: #897514
  * aacraid: controller hangs if kernel uses non-default ASPM policy
- LP: #897514
  * saa7164: Add support for another HVR2200 hardware revision
- LP: #897514
  * drm/i915/pch: Save/restore PCH_PORT_HOTPLUG across suspend
- LP: #897514
  * ARM: 7150/1: Allow kernel unaligned accesses on ARMv6+ processors
- LP: #897514
  * Net, libertas: Resolve memory leak in if_spi_host_to_card()
- LP: #897514
  * rt2x00: Fix sleep-while-atomic bug in powersaving code.
- LP: #897514
  * mac80211: fix NULL dereference in radiotap code
- LP: #897514
  * mac80211: fix bug in ieee80211_build_probe_req
- LP: #897514
  * nl80211: fix HT capability attribute validation
- LP: #897514
  * cfg80211: fix bug on regulatory core exit on access to last_request
- LP: #897514
  * ip6_tunnel: copy parms.name after register_netdevice
- LP: #897514
  * PM / driver core: disable device's runtime PM during shutdown
- LP: #897514
  * pch_phub: Support new device LAPIS Semiconductor ML7831 IOH
- LP: #897514
  * pch_phub: Fix MAC address writing issue for LAPIS ML7831
- LP: #897514
  * pch_uart: Fix hw-flow control issue
- LP: #897514
  * pch_uart: Fix DMA resource leak issue
- LP: #897514
  * pch_uart: Support new device LAPIS Semiconductor ML7831 IOH
- LP: #897514
  * tty: hvc_dcc: Fix duplicate character inputs
- LP: #897514
  * TTY: ldisc, allow waiting for 

[Bug 900396] Re: Regression with applications which expects bind(AF_UNSPEC) with INADDR_ANY to work

2012-01-20 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 2.6.35-32.64

---
linux (2.6.35-32.64) maverick-proposed; urgency=low

  [Herton R. Krzesinski]

  * Release Tracking Bug
- LP: #910919

  [ Seth Forshee ]

  * SAUCE: dell-wmi: Demote unknown WMI event message to pr_debug
- LP: #581312

  [ Upstream Kernel Changes ]

  * Revert Revert xen: set max_pfn_mapped to the last pfn mapped
- LP: #898139
  * Revert core: Fix memory leak/corruption on VLAN GRO_DROP,
CVE-2011-1576
- LP: #844361
  * kbuild: Disable -Wunused-but-set-variable for gcc 4.6.0
- LP: #898139
  * kbuild: Fix passing -Wno-* options to gcc 4.4+
- LP: #898139
  * maintainer
- LP: #898139
  * Remove the old V4L1 v4lgrab.c file
- LP: #898139
  * i8k: Tell gcc that *regs gets clobbered
- LP: #898139
  * Fix gcc 4.5.1 miscompiling drivers/char/i8k.c (again)
- LP: #898139
  * USB: serial/usb_wwan, fix tty NULL dereference
- LP: #898139
  * ipv6: add special mode accept_ra=2 to accept RA while configured as
router
- LP: #898139
  * set memory ranges in N_NORMAL_MEMORY when onlined
- LP: #898139
  * FLEXCOP-PCI: fix __xlate_proc_name-warning for flexcop-pci
- LP: #898139
  * m68k/mm: Set all online nodes in N_NORMAL_MEMORY
- LP: #898139
  * nfs: don't lose MS_SYNCHRONOUS on remount of noac mount
- LP: #898139
  * NFSv4.1: Ensure state manager thread dies on last umount
- LP: #898139
  * Input: xen-kbdfront - fix mouse getting stuck after save/restore
- LP: #898139
  * pmcraid: reject negative request size
- LP: #898139
  * mmc: sdhci-pci: Fix error case in sdhci_pci_probe_slot()
- LP: #898139
  * mmc: sdhci: Check mrq-cmd in sdhci_tasklet_finish
- LP: #898139
  * mmc: sdhci: Check mrq != NULL in sdhci_tasklet_finish
- LP: #898139
  * USB: fix regression in usbip by setting has_tt flag
- LP: #898139
  * ARM: 6891/1: prevent heap corruption in OABI semtimedop
- LP: #898139
  * Open with O_CREAT flag set fails to open existing files on non writable
directories
- LP: #898139
  * Input: elantech - discard the first 2 positions on some firmwares
- LP: #898139
  * Staging: rtl8192su: Clean up in case of an error in module
initialisation
- LP: #898139
  * Staging: rtl8192su: Fix procfs code for interfaces not named wlan0
- LP: #898139
  * USB: teach devices file about Wireless and SuperSpeed USB
- LP: #898139
  * SUNRPC: fix NFS client over TCP hangs due to packet loss (Bug 16494)
- LP: #898139
  * nfs: fix compilation warning
- LP: #898139
  * Increase OSF partition limit from 8 to 18
- LP: #898139
  * hwmon: (applesmc) Add MacBookAir3,1(3,2) support
- LP: #898139
  * ALSA: emux: Add trivial compat ioctl handler
- LP: #898139
  * ALSA: hda - MacBookPro 5,3 line-in support
- LP: #898139
  * ALSA: hda - Add model=mbp55 entry for MacBookPro 7,1
- LP: #898139
  * ALSA: hda - MacBookAir3,1(3,2) alsa support
- LP: #898139
  * Bluetooth: Add support Bluetooth controller of MacbookPro 6,2
- LP: #898139
  * Bluetooth: Add support Bluetooth controller of MacbookPro 7,1
- LP: #898139
  * Bluetooth: Add MacBookAir3,1(2) support
- LP: #898139
  * btrfs: Require CAP_SYS_ADMIN for filesystem rebalance
- LP: #898139
  * backlight: MacBookAir3,1(3,2) mbp-nvidia-bl support
- LP: #898139
  * bonding: Ensure that we unshare skbs prior to calling pskb_may_pull
- LP: #898139
  * HID: add MacBookAir 3,1 and 3,2 support
- LP: #898139
  * ipv6: Silence privacy extensions initialization
- LP: #898139
  * MIPS: DMA: Fix computation of DMA flags from device's
coherent_dma_mask.
- LP: #898139
  * niu: Fix kernel buffer overflow for ETHTOOL_GRXCLSRLALL
- LP: #898139
  * Phonet: device notifier only runs on initial namespace
- LP: #898139
  * powerpc/boot/dts: Install dts from the right directory
- LP: #898139
  * rt2500usb: fallback to SW encryption for TKIP+AES
- LP: #898139
  * libata: set queue DMA alignment to sector size for ATAPI too
- LP: #898139
  * usb: musb: core: set has_tt flag
- LP: #898139
  * cifs: check for bytes_remaining going to zero in CIFS_SessSetup
- LP: #898139
  * CIFS: Fix memory over bound bug in cifs_parse_mount_options
- LP: #898139
  * ehea: fix wrongly reported speed and port
- LP: #898139
  * NET: slip, fix ldisc-open retval
- LP: #898139
  * ne-h8300: Fix regression caused during net_device_ops conversion
- LP: #898139
  * hydra: Fix regression caused during net_device_ops conversion
- LP: #898139
  * libertas: fix cmdpendingq locking
- LP: #898139
  * zorro8390: Fix regression caused during net_device_ops conversion
- LP: #898139
  * x86, AMD: Fix ARAT feature setting again
- LP: #898139
  * clocksource: Install completely before selecting
- LP: #898139
  * tick: Clear broadcast active bit when switching to oneshot
- LP: #898139
  * x86, apic: Fix spurious error interrupts triggering 

[Bug 900396] Re: Regression with applications which expects bind(AF_UNSPEC) with INADDR_ANY to work

2012-01-05 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/maverick-proposed/linux-mvl-dove

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/900396

Title:
  Regression with applications which expects bind(AF_UNSPEC) with
  INADDR_ANY to work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/900396/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 900396] Re: Regression with applications which expects bind(AF_UNSPEC) with INADDR_ANY to work

2012-01-05 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/lucid-proposed/linux-ec2

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/900396

Title:
  Regression with applications which expects bind(AF_UNSPEC) with
  INADDR_ANY to work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/900396/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 900396] Re: Regression with applications which expects bind(AF_UNSPEC) with INADDR_ANY to work

2012-01-05 Thread Herton R. Krzesinski
Testcase verifies on lucid -proposed kernel (2.6.32-38.83).

** Tags added: verification-done-lucid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/900396

Title:
  Regression with applications which expects bind(AF_UNSPEC) with
  INADDR_ANY to work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/900396/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 900396] Re: Regression with applications which expects bind(AF_UNSPEC) with INADDR_ANY to work

2012-01-04 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/lucid-proposed/linux-lts-backport-maverick

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/900396

Title:
  Regression with applications which expects bind(AF_UNSPEC) with
  INADDR_ANY to work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/900396/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 900396] Re: Regression with applications which expects bind(AF_UNSPEC) with INADDR_ANY to work

2012-01-04 Thread Herton R. Krzesinski
Testcase verifies on maverick -proposed kernel  (2.6.35-32.64).

** Tags added: verification-done-maverick

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/900396

Title:
  Regression with applications which expects bind(AF_UNSPEC) with
  INADDR_ANY to work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/900396/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 900396] Re: Regression with applications which expects bind(AF_UNSPEC) with INADDR_ANY to work

2011-12-19 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/oneiric-proposed/linux-ti-omap4

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/900396

Title:
  Regression with applications which expects bind(AF_UNSPEC) with
  INADDR_ANY to work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/900396/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 900396] Re: Regression with applications which expects bind(AF_UNSPEC) with INADDR_ANY to work

2011-12-14 Thread Herton R. Krzesinski
This bug is awaiting verification that the kernel for Oneiric in
-proposed solves the problem (3.0.0-15.24). Please test the kernel and
update this bug with the results. If the problem is solved, change the
tag 'verification-needed-oneiric' to 'verification-done-oneiric'.

If verification is not done by one week from today, this fix will be
dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!

** Tags added: verification-needed-oneiric

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/900396

Title:
  Regression with applications which expects bind(AF_UNSPEC) with
  INADDR_ANY to work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/900396/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 900396] Re: Regression with applications which expects bind(AF_UNSPEC) with INADDR_ANY to work

2011-12-14 Thread Herton R. Krzesinski
Testcase verifies on oneiric -proposed kernel.

** Tags removed: verification-needed-oneiric
** Tags added: verification-done-oneiric

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/900396

Title:
  Regression with applications which expects bind(AF_UNSPEC) with
  INADDR_ANY to work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/900396/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 900396] Re: Regression with applications which expects bind(AF_UNSPEC) with INADDR_ANY to work

2011-12-06 Thread Tim Gardner
** Changed in: linux (Ubuntu Lucid)
   Status: In Progress = Fix Committed

** Changed in: linux (Ubuntu Maverick)
   Status: In Progress = Fix Committed

** Changed in: linux (Ubuntu Oneiric)
   Status: In Progress = Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/900396

Title:
  Regression with applications which expects bind(AF_UNSPEC) with
  INADDR_ANY to work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/900396/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 900396] Re: Regression with applications which expects bind(AF_UNSPEC) with INADDR_ANY to work

2011-12-05 Thread Herton R. Krzesinski
** Description changed:

+ SRU Justification
+ 
+ Impact
+ bind(AF_UNSPEC) to INADDR_ANY doesn't work anymore, breaking some legacy 
applications
+ 
+ Fix
+ upstream commit 29c486df6a208432b370bd4be99ae1369ede28d8
+ 
+ Testcase
+ small C program below
+ 
+ 
==
+ 
  commit d0733d2e29b65 (Check for mistakenly passed in non-IPv4 address),
  causes regressions in applications which expects bind(AF_UNSPEC) with
  INADDR_ANY to work. It was reported at
  https://bugzilla.kernel.org/show_bug.cgi?id=42012, but since
  bugzilla.kernel.org is not available for some time, some of the
  discussion about this issue is can be seen at
  http://patchwork.ozlabs.org/patch/112362/ for example as an additional
  source.
  
  Testcase:
  #include stdio.h
  #include sys/socket.h
  #include string.h
  #include linux/in.h
  
  int main(int argc, char **argv)
  {
-   struct sockaddr_in addr;
-   int fd, r;
+  struct sockaddr_in addr;
+  int fd, r;
  
-   fd = socket(PF_INET, SOCK_STREAM, 0);
-   memset(addr, 0, sizeof(struct sockaddr_in));
-   r = bind(fd, (struct sockaddr *)addr, sizeof(addr));
-   if (!r)
-   printf(Everything looks good\n);
-   else
-   printf(ERROR: too strict AF_INET check\n);
-   close(fd);
+  fd = socket(PF_INET, SOCK_STREAM, 0);
+  memset(addr, 0, sizeof(struct sockaddr_in));
+  r = bind(fd, (struct sockaddr *)addr, sizeof(addr));
+  if (!r)
+   printf(Everything looks good\n);
+  else
+   printf(ERROR: too strict AF_INET check\n);
+  close(fd);
  }

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/900396

Title:
  Regression with applications which expects bind(AF_UNSPEC) with
  INADDR_ANY to work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/900396/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs