[LLC]: allow datagram recvmsg
authorStephen Hemminger <shemminger@osdl.org>
Thu, 25 May 2006 22:08:59 +0000 (15:08 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 18 Jun 2006 04:26:02 +0000 (21:26 -0700)
commit29efcd2666b3a465b40aa07ef1f4d79847303e2f
tree6d1b3bb6543a24a6aa1a319adea20fbcea7b930a
parentaecbd4e45c2e469e0452ffb2c0b0d881e2815bb8
[LLC]: allow datagram recvmsg

LLC receive is broken for SOCK_DGRAM.
If an application does recv() on a datagram socket and there
is no data present, don't return "not connected". Instead, just
do normal datagram semantics.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/llc/af_llc.c