Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 83511cc4 authored by Amit Pundir's avatar Amit Pundir
Browse files

net: core: fix UID-based routing build



Use kuid_t GLOBAL_ROOT_UID instead of "0"
otherwise we run into following build failure:

include/net/route.h: In function 'ip_route_output_ports':
include/net/route.h:143:55: error: type mismatch in conditional expression
       daddr, saddr, dport, sport, sk ? sock_i_uid(sk) : 0);
                                                       ^

Signed-off-by: default avatarAmit Pundir <amit.pundir@linaro.org>
parent 1229881e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment