[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <200911052033.21964.lgrijincu@ixiacom.com>
Date: Thu, 5 Nov 2009 20:33:21 +0200
From: Lucian Adrian Grijincu <lgrijincu@...acom.com>
To: netdev@...r.kernel.org
Cc: opurdila@...acom.com
Subject: [PATCH 1/2] udp: cleanup __udp4_lib_mcast_deliver
__udp4_lib_mcast_deliver always returned 0.
It's caller can return 0 explicitly to make things clearer.
Also, we don't need the spin_lock() on the hslot to free the skb.
Signed-off-by: Lucian Adrian Grijincu <lgrijincu@...acom.com>
---
net/ipv4/udp.c | 57 +++++++++++++++++++++++++++++--------------------------
1 files changed, 30 insertions(+), 27 deletions(-)
View attachment "0001-udp-cleanup-__udp4_lib_mcast_deliver.patch" of type "text/plain" (2480 bytes)
Powered by blists - more mailing lists