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

Commit 8df25b9c authored by Amit Pundir's avatar Amit Pundir
Browse files

ANDROID: net: core: fix UID-based routing

Fix RTA_UID enum to match it with the Android userspace code which
assumes RTA_UID=18.

With this patch all Android kernel networking unit tests mentioned here
https://source.android.com/devices/tech/config/kernel_network_tests.html


are success.

Without this patch multinetwork_test.py unit test fails.

Change-Id: I3ff36670f7d4e5bf5f01dce584ae9d53deabb3ed
Signed-off-by: default avatarAmit Pundir <amit.pundir@linaro.org>
parent bc39b334
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -311,6 +311,7 @@ enum rtattr_type_t {
	RTA_TABLE,
	RTA_MARK,
	RTA_MFC_STATS,
	RTA_UID,
	RTA_VIA,
	RTA_NEWDST,
	RTA_PREF,
@@ -318,7 +319,6 @@ enum rtattr_type_t {
	RTA_ENCAP,
	RTA_EXPIRES,
	RTA_PAD,
	RTA_UID,
	__RTA_MAX
};