Skip to content
  • Adam Wujek's avatar
    lib/netconsole: fix wrpc hangs during reboot of a switch · 043efb0d
    Adam Wujek authored
    
    
    During reboot of a switch, WRPC tries to print messages like:
    Warning: tx not terminated infinite mcr=0x1001500
    Warning: tx timestamp never became available
    Warning: tx timestamp never became available
    Warning: tx not terminated infinite mcr=0x1001500
    Warning: tx timestamp never became available
    Warning: tx timestamp never became available
    Warning: tx timestamp never became available
    
    The pp_printf in network functions caused netconsole_write_string to be called
    recursively. This caused hangs of wrpc.
    
    Signed-off-by: default avatarAdam Wujek <adam.wujek@cern.ch>
    043efb0d