commit | bdcee7fbc930bae0428cadc9b1078a5dfa6eff72 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Oct 27 15:06:35 2021 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Wed Oct 27 15:50:49 2021 +0200 |
tree | 7bf43ffa13f3fb6432db9cb47bd78f0062011aeb | |
parent | 52b28d2f30eb47529d12150697a0ad9c6189f9f1 [diff] |
DEBUG: protocol: yell loudly during registration of invalid sock_domain The test on the sock_domain is a bit useless because the protocols are registered at boot time, and the test silently fails and returns no error. Use a BUG_ON() instead to make sure to catch such bugs in the code if any.