Joe Perches
861fb1078f
netfilter: Use correct return for seq_show functions
...
Using seq_has_overflowed doesn't produce the right return value.
Either 0 or -1 is, but 0 is much more common and works well when
seq allocation retries.
I believe this doesn't matter as the initial allocation is always
sufficient, this is just a correctness patch.
Miscellanea:
o Don't use strlen, use *ptr to determine if a string
should be emitted like all the other tests here
o Delete unnecessary return statements
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
2015-05-17 17:25:35 +02:00
..
2015-02-14 23:08:44 +01:00
2015-04-18 17:45:30 -04:00
2015-03-02 16:43:41 -05:00
2015-04-02 14:05:00 -04:00
2015-05-11 10:50:17 -04:00
2015-05-11 10:50:17 -04:00
2015-05-11 10:50:17 -04:00
2015-04-02 14:04:59 -04:00
2015-05-11 10:50:17 -04:00
2015-05-15 20:14:07 +02:00
2015-05-11 10:50:17 -04:00
2015-05-11 10:50:17 -04:00
2015-05-11 10:50:17 -04:00
2015-05-12 23:09:52 -04:00
2015-03-06 21:50:02 -05:00
2015-04-24 11:39:15 -04:00
2015-05-11 10:50:17 -04:00
2015-05-12 18:43:53 -04:00
2015-05-05 19:24:42 -04:00
2015-03-01 13:40:23 -05:00
2015-05-11 10:50:17 -04:00
2015-05-15 20:14:07 +02:00
2015-05-11 10:50:18 -04:00
2015-05-11 10:50:17 -04:00
2015-05-11 10:50:17 -04:00
2015-05-11 10:50:17 -04:00
2015-05-11 10:50:17 -04:00
2015-05-11 10:50:18 -04:00
2015-05-11 10:50:17 -04:00
2015-05-06 16:00:32 +02:00
2015-03-27 19:18:50 +01:00
2015-04-22 14:24:54 -04:00
2015-05-17 17:25:35 +02:00
2015-03-31 13:58:35 -04:00
2015-05-11 10:50:18 -04:00
2015-05-11 10:50:17 -04:00
2015-05-11 10:50:17 -04:00
2015-05-05 19:24:42 -04:00
2015-05-11 10:50:17 -04:00
2015-05-11 10:50:17 -04:00
2015-05-11 10:50:17 -04:00
2015-02-04 14:57:45 -08:00
2015-05-11 10:50:17 -04:00
2015-05-11 10:50:17 -04:00
2015-05-12 18:22:49 -04:00
2015-05-11 10:50:17 -04:00
2015-04-26 17:33:59 -07:00
2015-05-12 18:43:55 -04:00
2015-05-11 10:50:17 -04:00
2015-05-11 10:50:17 -04:00
2015-05-11 10:50:17 -04:00
2015-05-06 15:50:02 +02:00
2015-05-11 10:50:17 -04:00
2015-05-12 23:19:49 -04:00
2015-04-09 00:02:26 -04:00
2015-01-07 13:08:04 +01:00
2015-03-04 00:26:06 -05:00
2015-05-11 10:50:17 -04:00