diff options
| author | Anil Kaushik <anilkaushikwireless@gmail.com> | 2026-10-16 09:32:22 +0000 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2026-10-21 11:37:08 +0200 |
| commit | 758d8928d2c5d6703da827577cef86d643155236 (patch) | |
| tree | c4ca89b4e665cd0b0fa9a4921ace99dba13f5504 /tools/perf/scripts/python/bin/flamegraph-report | |
| parent | 7888fedc74c9f601510233cf0c5842a92b9e4a49 (diff) | |
gtp: set a valid genl command in PDP context get and dump replies
gtp_genl_fill_info() stamps the reply with the command its callers pass
in. gtp_genl_get_pdp() and gtp_genl_dump_pdp() pass nlmsg_type, which in
a genl message is the dynamically assigned family id rather than a
GTP_CMD_* value, so replies to a PDP context get or dump carry a
meaningless command number.
libgtpnl ignores the command and is unaffected, but parsers that check
it (for example the ynl tooling) treat the reply as an unknown command
and discard it. Pass GTP_CMD_GETPDP, as gtp_tunnel_notify() already
passes a real command on the notification path. No uapi change.
Fixes: 459aa660eb1d ("gtp: add initial driver for datapath of GPRS Tunneling Protocol (GTP-U)")
Signed-off-by: Anil Kaushik <anilkaushikwireless@gmail.com>
Link: https://patch.msgid.link/20261016093225.1036375-2-anilkaushikwireless@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/flamegraph-report')
0 files changed, 0 insertions, 0 deletions
