• Chuck Lever's avatar
    NLM: Remove address eye-catcher buffers from nlm_host · 1df40b60
    Chuck Lever authored
    The h_name field in struct nlm_host is a just copy of
    h_nsmhandle->sm_name.  Likewise, the contents of the h_addrbuf field
    should be identical to the sm_addrbuf field.
    
    The h_srcaddrbuf field is used only in one place for debugging.  We can
    live without this until we get %pI formatting for printk().
    
    Currently these buffers are 48 bytes, but we need to support scope IDs
    in IPv6 presentation addresses, which means making the buffers even
    larger.  Instead, let's find ways to eliminate them to save space.
    Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
    Signed-off-by: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
    1df40b60
host.c 18 KB