9423a324bf67913f9dec4bafe1fcb28a7995c8f2 |
|
16-Aug-2016 |
Sabrina Dubroca <sd@queasysnail.net> |
ila: show usage even if the module is not available Currently, the `ip ila` 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: ec71cae0bb7b ("ila: Support for configuring ila to use netfilter hook") Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
/external/iproute2/ip/ipila.c
|
2b68cb77cde32f5cba5f984e15fc402758edea76 |
|
16-Aug-2016 |
Sabrina Dubroca <sd@queasysnail.net> |
libgenl: introduce genl_init_handle All users of genl have the same code to open a genl socket and resolve the family for their specific protocol. Introduce a helper to initialize the handle, and use it in all the genl code. Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
/external/iproute2/ip/ipila.c
|
2d01b393f4fcb005586b74741da70ffbe5f77970 |
|
16-Aug-2016 |
Tom Herbert <tom@herbertland.com> |
ipila: Fixed unitialized variables Initialize locator and locator_match to zero and only do addattr if they have been set. Signed-off-by: Tom Herbert <tom@herbertland.com>
/external/iproute2/ip/ipila.c
|
ec71cae0bb7b1930f930979b974b5cb138f325d0 |
|
04-Aug-2016 |
Tom Herbert <tom@herbertland.com> |
ila: Support for configuring ila to use netfilter hook Signed-off-by: Tom Herbert <tom@herbertland.com>
/external/iproute2/ip/ipila.c
|