diff options
author | Hiroaki SHIMODA <shimoda.hiroaki@gmail.com> | 2014-11-13 04:24:10 +0900 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-11-12 15:12:06 -0500 |
commit | 6251edd932ce3faadbfe27b0a0fe79780e0972e9 (patch) | |
tree | bb46e41eaad644a944ae33a9450fc24212e4b6ed /firmware/tehuti | |
parent | cca04b2854ecfb7cd1b8ee84ab38bc99af59f526 (diff) | |
download | op-kernel-dev-6251edd932ce3faadbfe27b0a0fe79780e0972e9.zip op-kernel-dev-6251edd932ce3faadbfe27b0a0fe79780e0972e9.tar.gz |
netlink: Properly unbind in error conditions.
Even if netlink_kernel_cfg::unbind is implemented the unbind() method is
not called, because cfg->unbind is omitted in __netlink_kernel_create().
And fix wrong argument of test_bit() and off by one problem.
At this point, no unbind() method is implemented, so there is no real
issue.
Fixes: 4f520900522f ("netlink: have netlink per-protocol bind function return an error code.")
Signed-off-by: Hiroaki SHIMODA <shimoda.hiroaki@gmail.com>
Cc: Richard Guy Briggs <rgb@redhat.com>
Acked-by: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'firmware/tehuti')
0 files changed, 0 insertions, 0 deletions