commit | 74faec5d15ea0804e09c60506fc96a1712e427f7 | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Thu Sep 13 15:56:49 2018 +0900 |
committer | Lorenzo Colitti <lorenzo@google.com> | Tue Sep 25 20:08:45 2018 +0900 |
tree | e9b47ee7246168ec6142bfc47e4bd5fe1b1dcda0 | |
parent | 2b294be524877a51ab9d1e32c72f061f52da071f [diff] |
Document/enforce a bug in udp_dump_one. udp_dump_one passes arguments to __udp[46]_lib_lookup in the wrong order. Thus, to find a UDP socket from an inet_diag_req_v2, userspace must swap src and dst addresses and ports. Upstream has stated that this cannot be fixed any more for backwards compatibility reasons. Test: test passes on android-4.9 Change-Id: I98dfaa34608bb8291a21be4da03e1ad6b4039899