lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <OFED01B00C.3B84EA11-ON882573AD.0001073B-882573AD.0001C3EC@us.ibm.com>
Date:	Sun, 9 Dec 2007 16:19:12 -0800
From:	David Stevens <dlstevens@...ibm.com>
To:	yoshfuji@...ux-ipv6.org, davem@...emloft.net
Cc:	netdev@...r.kernel.org
Subject: all is not right with the world...

        I don't know if you've fixed it already, but I was writing some
UDPv6 tests in 2.6.23.9 and was getting EDESTADDRREQ unexpectedly. When
I looked at the kernel code, I found:

gerrit/wscott     1.115       | int udpv6_sendmsg(struct kiocb *iocb, 
struct sock *sk,
shemminger        1.57        |                                    struct 
msghdr *msg, size_t len)
torvalds          1.1         | {
...

yoshfuji          1.53        |                  } else if (!up->pending) 
{
yoshfuji          1.53        |                                  if 
(sk->sk_state != TCP_ESTABLISHED)
yoshfuji          1.53        |  return -EDESTADDRREQ;
yoshfuji          1.53        |                                  daddr = 
&np->daddr;

        I wouldn't expect a UDP socket to be setting
sk_state to TCP_ESTABLISHED...

                                                        +-DLS

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ