• U
    [AF_IUCV]: postpone receival of iucv-packets · f0703c80
    Ursula Braun 提交于
    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: NUrsula Braun <braunu@de.ibm.com>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    f0703c80
af_iucv.h 2.2 KB