Re: [PATCH v3 03/10] pkt-line: add packet_flush_gentle()

2016-08-05 Thread Lars Schneider
> On 02 Aug 2016, at 21:56, Torsten Bögershausen wrote: > > On Sun, Jul 31, 2016 at 11:45:08PM +0200, Lars Schneider wrote: >> >>> On 31 Jul 2016, at 22:36, Torstem Bögershausen wrote: >>> >>> >>> Am 29.07.2016 um 20:37 schrieb larsxschnei...@gmail.com:

Re: [PATCH v3 03/10] pkt-line: add packet_flush_gentle()

2016-08-02 Thread Torsten Bögershausen
On Sun, Jul 31, 2016 at 11:45:08PM +0200, Lars Schneider wrote: > > > On 31 Jul 2016, at 22:36, Torstem Bögershausen wrote: > > > > > > > >> Am 29.07.2016 um 20:37 schrieb larsxschnei...@gmail.com: > >> > >> From: Lars Schneider > >> > >>

Re: [PATCH v3 03/10] pkt-line: add packet_flush_gentle()

2016-08-01 Thread Lars Schneider
> On 30 Jul 2016, at 14:04, Jakub Narębski wrote: > > W dniu 30.07.2016 o 01:37, larsxschnei...@gmail.com pisze: >> From: Lars Schneider >> >> packet_flush() would die in case of a write error even though for some >> callers >> an error would be

Re: [PATCH v3 03/10] pkt-line: add packet_flush_gentle()

2016-07-31 Thread Lars Schneider
> On 31 Jul 2016, at 22:36, Torstem Bögershausen wrote: > > > >> Am 29.07.2016 um 20:37 schrieb larsxschnei...@gmail.com: >> >> From: Lars Schneider >> >> packet_flush() would die in case of a write error even though for some >> callers >> an error

Re: [PATCH v3 03/10] pkt-line: add packet_flush_gentle()

2016-07-31 Thread Torstem Bögershausen
> Am 29.07.2016 um 20:37 schrieb larsxschnei...@gmail.com: > > From: Lars Schneider > > packet_flush() would die in case of a write error even though for some callers > an error would be acceptable. What happens if there is a write error ? Basically the protocol is

Re: [PATCH v3 03/10] pkt-line: add packet_flush_gentle()

2016-07-30 Thread Jakub Narębski
W dniu 30.07.2016 o 01:37, larsxschnei...@gmail.com pisze: > From: Lars Schneider > > packet_flush() would die in case of a write error even though for some callers > an error would be acceptable. Add packet_flush_gentle() which writes a > pkt-line > flush packet and

[PATCH v3 03/10] pkt-line: add packet_flush_gentle()

2016-07-29 Thread larsxschneider
From: Lars Schneider packet_flush() would die in case of a write error even though for some callers an error would be acceptable. Add packet_flush_gentle() which writes a pkt-line flush packet and returns `0` for success and `1` for failure. Signed-off-by: Lars