diff options
| author | 2017-10-20 08:44:05 +0000 | |
|---|---|---|
| committer | 2017-10-20 08:44:05 +0000 | |
| commit | 5e917d7d79a2e55a34b59102db011425ec37aeed (patch) | |
| tree | 9033425f210a2e3dfcaf2b17fec2e78648e9b45b | |
| parent | 00c9323828bc006135153fe5951367263f2c8a47 (diff) | |
| parent | 9c2576fa9b75b7741d512a9cee74230f3a87e469 (diff) | |
Merge "Fix netlink group mismatch in fds used for offload" am: fb7c0e8c91 am: 6d36b2657f
am: 9c2576fa9b
Change-Id: I2dcebec1c08bb7b067621331533d8a65dd7b5083
| -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; |