Skip to content

Commit

Permalink
fix(modern_bpf): recvmsg filler sending empty addres for udp connections
Browse files Browse the repository at this point in the history
Signed-off-by: Gianmatteo Palmieri <mail@gian.im>
  • Loading branch information
mrgian committed Mar 28, 2024
1 parent 209243e commit 082108f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ int BPF_PROG(recvmsg_x,

/* Parameter 4: tuple (type: PT_SOCKTUPLE) */
uint32_t socket_fd = (uint32_t)args[0];
auxmap__store_socktuple_param(auxmap, socket_fd, INBOUND, NULL);
auxmap__store_socktuple_param(auxmap, socket_fd, INBOUND, msghhdr.msg_name);

/* Parameter 5: msg_control (type: PT_BYTEBUF) */
if (msghhdr.msg_control != NULL)
Expand Down

0 comments on commit 082108f

Please sign in to comment.