Re: [PATCH] vsprintf: flowinfo in IPv6 is optional too
From: Andy Shevchenko
Date: Wed Feb 03 2016 - 16:14:58 EST
On Wed, 2016-02-03 at 22:09 +0100, Jason A. Donenfeld wrote:
> On Wed, Feb 3, 2016 at 6:56 PM, Joe Perches <joe@xxxxxxxxxxx> wrote:
> > Why does this matter at all?
>
> Because I want to printk a sockaddr_in6, and have the most complete
> yet valid and standard representation I can. Displaying a /0 when
> there is no flow is confusing, ugly, and unhelpful, not to mention it
> doesn't accurately reflect what's happening. A flowlabel of zero
> means
> no flowlabel.
So, where do you want to put your result? dmesg? User-space application
via sysfs?Â
Seems like here is discussion debug vs. release version of printed data
in the kernel.
--
Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
Intel Finland Oy