• Ursula Braun's avatar
    [AF_IUCV]: postpone receival of iucv-packets · f0703c80
    Ursula Braun authored
    AF_IUCV socket programs may waste Linux storage, because af_iucv
    allocates an skb whenever posted by the receive callback routine and
    receives the message immediately.
    Message receival is now postponed if data from previous callbacks has
    not yet been transferred to the receiving socket program. Instead a
    message handle is saved in a message queue as a reminder. Once
    messages could be given to the receiving socket program, there is
    an additional checking for entries in the message queue, followed
    by skb allocation and message receival if applicable.
    Signed-off-by: default avatarUrsula Braun <braunu@de.ibm.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    f0703c80
af_iucv.h 2.24 KB