Skip to content

XceptN’s Tech Stuff

All About Tech

Extra Data Received on Transport in Urgent Mode (MSG_OOB)

Posted on November 28, 2008 By XceptN No Comments on Extra Data Received on Transport in Urgent Mode (MSG_OOB)

While transmitting data in Urgent Mode  at the socket layer:
  • Urgent mode is initiated using send(…, MSG_OOB),
  • Current outgoing queue is longer than MTU
  • Several packets are sent out with the URG flag set.

The Urgent Pointer field in the TCP header is not updated correctly. Instead, it stays the same.

The receiving end interprets this as a new urgent message inserted further in the stream. Then it sends multiple SIGURG entries to the other end (server) reads the urgent data. This is just the way it is expected to be.

Since the receiving end does not see that the TCP header had the urgent pointer field set, it just reads the dummy data (sent along with the MSG_OOB flag). This would confuse the receiving part of the application.

This is due to Linux Kernel Bugzilla 12014

This behavior had been intermittently noticed with SLES10 which has 2.6.16 kernel. The bug has not yet been fixed as of November 27, 2008.

If the fix for Linux Kernel Bugzilla 12014 is not yet available (for your Linux kernel version) try working the problem around by disabling MSG_OOB use:

  • Modify / configure your server application (which is to send the MSG_OOBflagged socket requests) to disable the use of out-of-band breaks (the use of urgent mode).

http://bugzilla.kernel.org/show_bug.cgi?id=12014

kernel, linux, network

Post navigation

Previous Post: Importance of Price, Quality and Support Effectiveness for Virtualization
Next Post: traceroute Fails with -F (do not fragment bit) Argument

Related Posts

2012: What a year for Linux… development
D/Port Replicator Headphone Not Working desktop
Fujitsu LIFEBOOK UH572 Ultrabook Touch Pad Review: Linux desktop
How to Distinguish Environment Variables from Different Shells in “bash”? linux
backup the mbr linux
Interested in Linux Kernel Module Programming? kernel

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • Dipping Toes into Nix Package Manager | Installing Freeplane
  • Fujitsu Workplace Protect Face Recognition Best Practices on Q704
  • Fujitsu STYLISTIC Q704 Fingerprint Scanner Problems
  • Two Generations of Computing Equipment…
  • IBM Model M Keyboard Goes Blank

Recent Comments

  1. r0cky on Fujitsu LIFEBOOK UH572 Ultrabook Touch Pad Review: Linux
  2. XceptN on Fujitsu LIFEBOOK UH572 Ultrabook Touch Pad Review: Linux
  3. r0cky on Fujitsu LIFEBOOK UH572 Ultrabook Touch Pad Review: Linux
  4. Kaylee on Mounting an LVM Logical Volume in an Oracle VM Disk Image
  5. Theron Conrey on Open Source Virtualization for Smaller Carbon Footprint

Archives

  • June 2024
  • November 2014
  • October 2014
  • April 2014
  • March 2014
  • December 2012
  • November 2012
  • October 2010
  • April 2010
  • April 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • November 2008
  • October 2008
  • September 2008

Categories

  • blogging
  • communication
  • desktop
  • development
  • firmware
  • Fujitsu
  • gprs
  • gps
  • hardware
  • internet
  • java
  • kernel
  • keyboard
  • linux
  • masteryourbiz
  • mms
  • mobile
  • multimedia
  • network
  • OracleVM
  • palm
  • python
  • rokr e6
  • social media networking
  • storage
  • sysadm
  • tablet
  • twitter
  • virtualization
  • wap
  • windows
  • wordpress
  • xen

Copyright © 2025 XceptN’s Tech Stuff.

Powered by PressBook Masonry Dark