commit | 67b159a8c83c79cce62e9f244e14008e1affd8c6 | [log] [tgz] |
---|---|---|
author | Jeremy Kerr <jk@codeconstruct.com.au> | Thu Aug 01 15:23:57 2024 +0800 |
committer | Jeremy Kerr <jk@codeconstruct.com.au> | Mon Feb 24 11:09:44 2025 +0000 |
tree | bdb53d1f420bb2d829b0620bee5b1df2e6b95b85 | |
parent | bea6cdec5b0fbdba26ce434de22720a5930a2e8e [diff] |
ncsi: set a default callback if none is provided If applyCmd is called once with a callback, and once without, the second invocation will use the previous' function, which may no longer have access to valid data. Instead, unconditionally call nl_socket_modify_cb, but with NL_CB_DEFAULT if no function was provided. Change-Id: I16bc81888f381bf002379d4021e4e8aea28db15c Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>