lkml.org 
[lkml]   [2015]   [Apr]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 4/5 v4] netfilter: Fix format string of nfnetlink_queue proc file
From
From: Richard Weinberger <richard@nod.at>
Date: Mon, 13 Apr 2015 00:52:38 +0200

> The printed values are all of type unsigned integer, therefore use
> %u instead of %d. Otherwise an user can face negative values.
>
> Fixes:
> $ cat /proc/net/netfilter/nfnetlink_queue
> 0 29508 278 2 65531 0 2004213241 -2129885586 1
> 1 -27747 0 2 65531 0 0 0 1
> 2 -27748 0 2 65531 0 0 0 1
>
> Signed-off-by: Richard Weinberger <richard@nod.at>

Applied.


\
 
 \ /
  Last update: 2015-04-13 23:01    [W:0.102 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site