commit | d240a0e174d54ae7613fd3034e281123968fdd9b | [log] [tgz] |
---|---|---|
author | Sabrina Dubroca <sd@queasysnail.net> | Tue Aug 16 16:26:57 2016 +0200 |
committer | Stephen Hemminger <sthemmin@microsoft.com> | Wed Aug 17 14:00:22 2016 -0700 |
tree | 644500b6775dd5b9dda750db01fc0d05285cfe47 | |
parent | 688f9aa4f24ffac148f6b4127602f10a7837d4ba [diff] |
fou: show usage even if the module is not available Currently, the `ip fou` command tries to initialize a genl context even when we just want to see the help for the command, which doesn't require to talk to the kernel at all. Delay genl initialization, which can fail if the module isn't loaded, until the point where we will actually need it. Fixes: 6928747b6e79 ("ip fou: Support to configure foo-over-udp RX") Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>