diff options
| author | 2017-10-20 08:25:19 +0000 | |
|---|---|---|
| committer | 2017-10-20 08:25:19 +0000 | |
| commit | 6d36b2657f4f595f272e26e9a2b6b2c8cbb9a1ee (patch) | |
| tree | d2ddb3fc91bfd9695f0ea80c754fd8399b5c37df | |
| parent | c671962c9a63a98319d45b14be1cadf4a6edf3d5 (diff) | |
| parent | fb7c0e8c91b49f55040b0d19deb35c387ddb8ee6 (diff) | |
Merge "Fix netlink group mismatch in fds used for offload"
am: fb7c0e8c91
Change-Id: Iaca85d6b06dfc642ffce7c53bb87cd25dabe04c9
| -rw-r--r-- | services/core/jni/com_android_server_connectivity_tethering_OffloadHardwareInterface.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/services/core/jni/com_android_server_connectivity_tethering_OffloadHardwareInterface.cpp b/services/core/jni/com_android_server_connectivity_tethering_OffloadHardwareInterface.cpp index 9a17635721b8..3eaf48845a2f 100644 --- a/services/core/jni/com_android_server_connectivity_tethering_OffloadHardwareInterface.cpp +++ b/services/core/jni/com_android_server_connectivity_tethering_OffloadHardwareInterface.cpp @@ -103,8 +103,8 @@ static jboolean android_server_connectivity_tethering_OffloadHardwareInterface_c // fd2 A file descriptor bound to the following netlink groups // (NF_NETLINK_CONNTRACK_UPDATE | NF_NETLINK_CONNTRACK_DESTROY). base::unique_fd - fd1(conntrackSocket(NFNLGRP_CONNTRACK_NEW | NFNLGRP_CONNTRACK_DESTROY)), - fd2(conntrackSocket(NFNLGRP_CONNTRACK_UPDATE | NFNLGRP_CONNTRACK_DESTROY)); + fd1(conntrackSocket(NF_NETLINK_CONNTRACK_NEW | NF_NETLINK_CONNTRACK_DESTROY)), + fd2(conntrackSocket(NF_NETLINK_CONNTRACK_UPDATE | NF_NETLINK_CONNTRACK_DESTROY)); if (fd1.get() < 0 || fd2.get() < 0) { ALOGE("Unable to create conntrack handles: %d/%s", errno, strerror(errno)); return false; |