aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/phy.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2015-05-16 21:50:28 +0800
committerDavid S. Miller <davem@davemloft.net>2015-05-16 17:08:57 -0400
commitc0bb07df7d981e4091432754e30c9c720e2c0c78 (patch)
treef2d676b046893d451555345d93a1bc72af18c2c6 /drivers/net/phy/phy.c
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf (diff)
downloadlinux-dev-c0bb07df7d981e4091432754e30c9c720e2c0c78.tar.xz
linux-dev-c0bb07df7d981e4091432754e30c9c720e2c0c78.zip
netlink: Reset portid after netlink_insert failure
The commit c5adde9468b0714a051eac7f9666f23eb10b61f7 ("netlink: eliminate nl_sk_hash_lock") breaks the autobind retry mechanism because it doesn't reset portid after a failed netlink_insert. This means that should autobind fail the first time around, then the socket will be stuck in limbo as it can never be bound again since it already has a non-zero portid. Fixes: c5adde9468b0 ("netlink: eliminate nl_sk_hash_lock") Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions