Stephen Hemminger
adb00ae2ea
netfilter: x_tables: misuse of try_then_request_module
...
Since xt_find_match() returns ERR_PTR(xx) on error not NULL,
the macro try_then_request_module won't work correctly here.
The macro expects its first argument will be zero if condition
fails. But ERR_PTR(-ENOENT) is not zero.
The correct solution is to propagate the error value
back.
Found by inspection, and compile tested only.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com >
Signed-off-by: Patrick McHardy <kaber@trash.net >
2011-03-09 14:14:26 +01:00
..
2011-03-08 15:37:27 +01:00
2011-02-25 11:35:41 +09:00
2011-01-18 16:08:30 +01:00
2011-02-03 00:05:43 +01:00
2011-02-03 00:05:43 +01:00
2010-06-25 14:46:56 +02:00
2011-01-18 18:12:24 +01:00
2011-01-19 16:00:07 +01:00
2010-08-19 17:18:01 -07:00
2011-01-14 15:45:56 +01:00
2010-11-15 19:45:13 +01:00
2011-01-14 15:45:56 +01:00
2011-01-18 18:12:24 +01:00
2011-02-01 17:26:37 +01:00
2010-11-12 17:33:17 +01:00
2010-11-12 17:33:17 +01:00
2011-02-28 18:02:33 +01:00
2010-11-15 19:45:13 +01:00
2010-10-21 08:21:34 -07:00
2011-01-18 18:12:24 +01:00
2011-01-19 19:10:49 +01:00
2011-01-19 16:00:07 +01:00
2010-11-15 18:17:21 +01:00
2011-01-18 16:08:30 +01:00
2010-10-21 08:21:34 -07:00
2011-02-15 21:59:37 +01:00
2011-01-18 15:27:28 +01:00
2011-03-09 14:14:26 +01:00
2011-01-16 18:10:28 +01:00
2010-07-15 17:20:46 +02:00
2010-11-15 13:57:56 +01:00
2011-02-14 16:54:33 +01:00
2011-02-14 17:28:55 +01:00
2011-01-18 06:33:54 +01:00
2010-10-21 10:12:48 +11:00
2011-02-03 00:05:43 +01:00
2010-08-19 17:16:25 -07:00
2011-01-18 06:33:54 +01:00
2011-01-28 19:33:13 +01:00
2011-01-13 10:30:27 +09:00
2011-01-18 06:33:54 +01:00
2011-01-18 16:08:30 +01:00
2010-07-23 14:07:47 +02:00
2010-10-15 15:53:27 +02:00
2010-10-21 10:12:48 +11:00
2011-02-01 15:56:00 +01:00
2010-10-28 12:59:53 -07:00
2010-11-17 12:27:45 -08:00
2010-10-25 13:58:36 -07:00