diff --git a/file.te b/file.te
index 18bafa41cb0c1fff483c81c2a19567c2552c3f2c..eb7cb90478d42ac7c4ce488d4e739c4cb8ee6845 100644
--- a/file.te
+++ b/file.te
@@ -78,6 +78,7 @@ type camera_data_file, file_type, data_file_type;
 type keystore_data_file, file_type, data_file_type;
 type media_data_file, file_type, data_file_type;
 type media_rw_data_file, file_type, data_file_type;
+type net_data_file, file_type, data_file_type;
 type nfc_data_file, file_type, data_file_type;
 type radio_data_file, file_type, data_file_type;
 type shared_relro_file, file_type, data_file_type;
diff --git a/file_contexts b/file_contexts
index 5cc65972ee6da4199a085e8be984f218883446ed..57fc1f2f91b58c94d5826f1a808e58a344c6bfcd 100644
--- a/file_contexts
+++ b/file_contexts
@@ -202,6 +202,7 @@
 /data/misc/dhcp(/.*)?           u:object_r:dhcp_data_file:s0
 /data/misc/keystore(/.*)?       u:object_r:keystore_data_file:s0
 /data/misc/media(/.*)?          u:object_r:media_data_file:s0
+/data/misc/net(/.*)?            u:object_r:net_data_file:s0
 /data/misc/shared_relro(/.*)?   u:object_r:shared_relro_file:s0
 /data/misc/sms(/.*)?            u:object_r:radio_data_file:s0
 /data/misc/systemkeys(/.*)?     u:object_r:systemkeys_data_file:s0
diff --git a/netd.te b/netd.te
index b7c30eb15fc40bdb40d3e0fd7a091f6497da4edd..81275a77a19fc40853f3b46e41266218323172ce 100644
--- a/netd.te
+++ b/netd.te
@@ -46,6 +46,10 @@ allow netd self:capability { dac_override chown fowner };
 allow netd wifi_data_file:file create_file_perms;
 allow netd wifi_data_file:dir rw_dir_perms;
 
+# Needed to update /data/misc/net/rt_tables
+allow netd net_data_file:file create_file_perms;
+allow netd net_data_file:dir rw_dir_perms;
+
 # Allow netd to spawn hostapd in it's own domain
 domain_auto_trans(netd, hostapd_exec, hostapd)
 allow netd hostapd:process signal;