Changeset ef66c597dd4703603001731c680a7d276cbaa174

Show
Ignore:
Timestamp:
12/06/10 06:26:37 (4 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1291616797 +0000
git-parent:

[4894966c03f577b54d528ad9d1d0dc76f81a959c]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1291616797 +0000
Message:

It appears that wicked circumstances can return on = 0 (in a shared-stack solaris container)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/modules/ping_icmp.c

    rece3776 ref66c59  
    317317    socklen_t slen = sizeof(on); 
    318318    if(getsockopt(data->ipv4_fd, SOL_SOCKET, SO_SNDBUF, &on, &slen) == 0) { 
     319      if(on <= 0) on = 1024; 
    319320      while(on < (1 << 20)) { 
    320321        on <<= 1;