[dpdk-dev] [PATCH v2] vhost: fix null pointer checking

Maxime Coquelin maxime.coquelin at redhat.com
Wed Apr 17 09:13:17 CEST 2019



On 4/8/19 5:38 AM, Tiwei Bie wrote:
> On Thu, Apr 04, 2019 at 09:53:17AM +0100, Mohammad Abdul Awal wrote:
>> Null value for parameters will cause segfault.
>>
>> Fixes: d7280c9fff ("vhost: support selective datapath")
>> Fixes: 72e8543093df ("vhost: add API to get MTU value")
>> Fixes: a277c71598 ("vhost: refactor code structure")
>> Fixes: ca33faf9ef ("vhost: introduce API to fetch negotiated features")
>> Fixes: eb32247457 ("vhost: export guest memory regions")
>> Fixes: 40ef286f23 ("vhost: export vhost vring info")
>> Fixes: bd2e0c3fe5 ("vhost: add APIs for live migration")
>> Fixes: 0b8572a0c1 ("vhost: add external message handling to the API")
>> Fixes: b4953225ce ("vhost: add APIs for datapath configuration")
> 
> Would be better to use the same length (12) for hashes.

Just FYI, it is possible to define a git alias to do that:

$ git config --get alias.fixline
log -1 --abbrev=12 --format='Fixes: %h ("%s")%nCc: %ae'
$ git fixline c5f21bdae4650bc168638c7b4a2c789e245ba562
Fixes: c5f21bdae465 ("fix indentation in symbol maps")
Cc: thomas at monjalon.net




More information about the dev mailing list