From: Eric Dumazet <eric.dumazet@gmail.com>
To: Piergiorgio Beruto <piergiorgio.beruto@gmail.com>
Cc: davem@davemloft.net, netdev@vger.kernel.org
Subject: Re: Possible bugfix for AF_UNIX, SOCK_SEQPACKET sockets
Date: Wed, 15 Feb 2012 19:16:18 +0100 [thread overview]
Message-ID: <1329329778.2469.0.camel@edumazet-laptop> (raw)
In-Reply-To: <CAFJW8X_zvqVP+ZZO1BOFHa0XeywnieszMoSub_VKMhoy55J4Og@mail.gmail.com>
Le mercredi 15 février 2012 à 18:36 +0100, Piergiorgio Beruto a écrit :
> Ok, I take the recvmsg( ... MSG_PEEK|MSG_TRUNC) *USUALLY* returns the
> size of the next packet (which would solve my problem without any ugly
> & deprecated ioctl) when passing a "too small buffer" but as you said
> AF_UNIX sockets do not implement this behavior...
>
> Are you proposing to implement such patch in the kernel to fix this?
> Do you want me to test it?
>
Yes please test it and I'll submit it.
Thanks
next prev parent reply other threads:[~2012-02-15 18:16 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-14 22:05 Possible bugfix for AF_UNIX, SOCK_SEQPACKET sockets Piergiorgio Beruto
2012-02-15 6:25 ` Eric Dumazet
2012-02-15 10:43 ` Piergiorgio Beruto
2012-02-15 12:42 ` Eric Dumazet
2012-02-15 17:36 ` Piergiorgio Beruto
2012-02-15 18:16 ` Eric Dumazet [this message]
2012-02-15 19:55 ` David Miller
2012-02-18 21:23 ` Piergiorgio Beruto
2012-02-22 9:24 ` [PATCH net-next] af_unix: MSG_TRUNC support for dgram sockets Eric Dumazet
2012-02-22 19:50 ` David Miller
2012-12-20 16:50 ` Michael Kerrisk (man-pages)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1329329778.2469.0.camel@edumazet-laptop \
--to=eric.dumazet@gmail.com \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--cc=piergiorgio.beruto@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox