Re: [PATCH] trivial: report backend_cra_name when allocation fails

From: Herbert Xu
Date: Wed Jun 10 2015 - 20:29:13 EST


On Wed, Jun 10, 2015 at 10:27:47PM +0900, Sergey Senozhatsky wrote:
> Hello,
>
> A trivial patch.
>
> My wifi stopped working recently, and the error message was not too
> informative (at least to me):
>
> kernel: wlp2s0: authenticate with 64:e5:99:74:dc:44
> kernel: wlp2s0: send auth to 64:e5:99:74:dc:44 (try 1/3)
> kernel: wlp2s0: authenticated
> kernel: wlp2s0: associate with 64:e5:99:74:dc:44 (try 1/3)
> kernel: wlp2s0: RX AssocResp from 64:e5:99:74:dc:44 (capab=0x411 status=0 aid=1)
> kernel: wlp2s0: associated
> kernel: IPv6: ADDRCONF(NETDEV_CHANGE): wlp2s0: link becomes ready
> dhclient[355]: DHCPREQUEST on wlp2s0 to 255.255.255.255 port 67
> kernel: DRBG: could not allocate digest TFM handle
> kernel: wlp2s0: deauthenticating from 64:e5:99:74:dc:44 by local choice (Reason: 1=UNSPECIFIED)
> kernel: cfg80211: Calling CRDA to update world regulatory domain
>
>
> an update error message
> DRBG: could not allocate digest TFM handle: hmac(sha256)
>
> is slightly more helpful (didn't have sha256 config enabled).

Thanks. And I'll make sure drbg select sha256 so that this doesn't
happen.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/