Dan Carpenter
c4f65b09b4
net/act_pedit: fix an error code
...
I'm reviewing static checker warnings where we do ERR_PTR(0), which is
the same as NULL. I'm pretty sure we intended to return ERR_PTR(-EINVAL)
here. Sometimes these bugs lead to a NULL dereference but I don't
immediately see that problem here.
Fixes: 71d0ed7079df ("net/act_pedit: Support using offset relative to the conventional network headers")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Amir Vadai <amir@vadai.me>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-06-14 15:24:18 -04:00
..
2017-05-02 15:33:54 -04:00
2017-04-13 13:58:22 -04:00
2017-04-13 13:58:22 -04:00
2017-04-13 13:58:22 -04:00
2017-04-13 13:58:22 -04:00
2017-04-13 13:58:22 -04:00
2017-04-13 13:58:22 -04:00
2016-03-01 17:15:23 -05:00
2016-03-01 17:15:23 -05:00
2016-09-19 21:55:28 -04:00
2017-04-13 13:58:22 -04:00
2017-04-13 13:58:22 -04:00
2017-06-14 15:24:18 -04:00
2017-06-14 14:39:19 -04:00
2017-04-13 13:58:22 -04:00
2017-04-13 13:58:22 -04:00
2017-04-13 13:58:22 -04:00
2017-04-13 13:58:22 -04:00
2017-04-13 13:58:22 -04:00
2017-04-13 13:58:22 -04:00
2017-04-21 13:58:15 -04:00
2017-04-21 13:58:15 -04:00
2017-04-21 13:58:15 -04:00
2017-04-21 13:58:15 -04:00
2017-04-21 13:58:15 -04:00
2017-05-01 11:12:21 -04:00
2017-04-21 13:58:15 -04:00
2017-05-22 14:54:16 -04:00
2017-04-21 13:58:15 -04:00
2007-07-10 22:16:41 -07:00
2007-07-10 22:16:41 -07:00
2017-04-21 13:58:15 -04:00
2017-04-21 13:58:15 -04:00
2017-04-21 13:58:15 -04:00
2014-10-06 18:02:32 -04:00
2011-01-19 23:31:12 -08:00
2016-11-03 10:56:21 +01:00
2017-04-13 13:58:22 -04:00
2014-10-06 18:02:32 -04:00
2015-02-22 15:59:54 -05:00
2011-01-19 23:31:12 -08:00
2017-04-13 13:58:22 -04:00
2017-04-17 13:23:06 -04:00
2017-01-24 13:44:28 -05:00
2017-05-11 21:37:40 -04:00
2017-04-13 13:58:22 -04:00
2016-06-25 12:19:35 -04:00
2017-04-13 13:58:22 -04:00
2017-05-08 17:15:13 -07:00
2017-04-13 13:58:22 -04:00
2017-04-13 13:58:22 -04:00
2017-04-13 13:58:22 -04:00
2016-09-19 01:47:18 -04:00
2017-05-08 17:15:13 -07:00
2017-05-08 17:15:13 -07:00
2017-04-15 21:16:30 -04:00
2017-04-13 13:58:22 -04:00
2017-04-13 13:58:22 -04:00
2017-05-08 17:15:13 -07:00
2017-04-13 13:58:22 -04:00
2017-02-10 11:38:08 -05:00
2017-03-12 22:53:02 -07:00
2017-03-15 15:20:27 -07:00
2017-03-12 22:53:02 -07:00
2017-05-08 17:15:13 -07:00
2017-04-13 13:58:22 -04:00
2016-06-25 12:19:35 -04:00
2017-03-12 22:53:02 -07:00
2017-04-13 13:58:22 -04:00
2017-04-13 13:58:22 -04:00
2017-04-13 13:58:22 -04:00
2017-05-08 17:15:13 -07:00
2017-04-13 13:58:22 -04:00
2017-01-08 17:51:44 -05:00