summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@nvidia.com>2021-03-24 20:43:32 +0100
committerDavid S. Miller <davem@davemloft.net>2021-03-25 00:44:31 +0100
commite43accba9b071dcd106b5e7643b1b106a158cbb1 (patch)
treebfd68e49ca183c170010f136150f3d163ecc11e9 /lib
parentmath: Export mul_u64_u64_div_u64 (diff)
downloadlinux-e43accba9b071dcd106b5e7643b1b106a158cbb1.tar.xz
linux-e43accba9b071dcd106b5e7643b1b106a158cbb1.zip
psample: Fix user API breakage
Cited commit added a new attribute before the existing group reference count attribute, thereby changing its value and breaking existing applications on new kernels. Before: # psample -l libpsample ERROR psample_group_foreach: failed to recv message: Operation not supported After: # psample -l Group Num Refcount Group Seq 1 1 0 Fix by restoring the value of the old attribute and remove the misleading comments from the enumerator to avoid future bugs. Cc: stable@vger.kernel.org Fixes: d8bed686ab96 ("net: psample: Add tunnel support") Signed-off-by: Ido Schimmel <idosch@nvidia.com> Reported-by: Adiel Bidani <adielb@nvidia.com> Reviewed-by: Jiri Pirko <jiri@nvidia.com> Reviewed-by: Petr Machata <petrm@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions