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-04-12 22:02:40 +02:00
2017-05-19 15:06:48 -07:00
2017-06-12 15:21:20 -04:00
2017-06-13 13:34:13 -04:00
2016-10-20 11:23:08 -04:00
2017-06-01 11:49:39 -04:00
2017-04-21 15:29:40 -04:00
2017-01-24 11:07:35 +01:00
2017-04-06 11:10:41 +01:00
2017-06-14 15:24:18 -04:00