[Sheepdog] [PATCH] Make connection information more readable

Yunkai Zhang yunkai.me at gmail.com
Thu May 3 08:30:45 CEST 2012


On Tue, May 1, 2012 at 4:00 AM, MORITA Kazutaka
<morita.kazutaka at gmail.com> wrote:
> At Sat, 28 Apr 2012 16:07:20 +0800,
> Yunkai Zhang wrote:
>>
>> From: Yunkai Zhang <qiushu.zyk at taobao.com>
>>
>> Add ipstr and port in connection structure, and fill these values
>> in create_client(). We can dprintf them when we need to show us where
>> the client connection comes from.
>>
>> To help us debuging, I dprintf these info in client_rx_handler() and
>> destroy_client().
>>
>> Signed-off-by: Yunkai Zhang <qiushu.zyk at taobao.com>
>> ---
>>  include/net.h |    4 ++++
>>  sheep/sdnet.c |   21 +++++++++++++++++++++
>>  2 files changed, 25 insertions(+), 0 deletions(-)
>
> Applied after fixing coding style, thanks!
>
> Kazutaka

Today, I found that the version of checkpatch.pl in my notebook
is too old(I got it from 2.6 kernel tree), and this patch had passed
the checking before I submitted it.

Sorry for my careless.
-- 
Yunkai Zhang
Work at Taobao



More information about the sheepdog mailing list