forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix miscellaneous issues (torvalds#397)
* lkl: Fix a crash issue when no configuration file is specified When no env variables nor json files are configured, it sometimes crashes due to uninitialized value of lkl_config->ifnum. This patch fixes this issue by simply zero-ing the values. Fixes: 842d02f ("lkl: Support json configuration and multiple interfaces") Signed-off-by: Hajime Tazaki <thehajime@gmail.com> * lkl: fix typos on getsockopt/setsockopt This typo was there since the first version. Signed-off-by: Hajime Tazaki <thehajime@gmail.com> * lkl: let debug print disabled if 0 is specified. Reported at https://goo.gl/WpdLjg Signed-off-by: Hajime Tazaki <thehajime@gmail.com>
- Loading branch information
Showing
4 changed files
with
10 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters