diff options
author | David S. Miller <davem@davemloft.net> | 2009-11-06 03:55:55 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-06 03:55:55 -0500 |
commit | 230f9bb701d37ae9b48e96456689452978f5c439 (patch) | |
tree | 9d2690917533bbb4498c8c9df838de2d38360912 /net/ipv4/udp.c | |
parent | 000ba2e43f33901859fd794bb33c885909d53b3b (diff) | |
parent | 887e671f324d9898aaedb29a6ece6c853c394067 (diff) |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts:
drivers/net/usb/cdc_ether.c
All CDC ethernet devices of type USB_CLASS_COMM need to use
'&mbm_info'.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/udp.c')
-rw-r--r-- | net/ipv4/udp.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c index 4274c1cc78fd..d5e75e976513 100644 --- a/net/ipv4/udp.c +++ b/net/ipv4/udp.c | |||
@@ -1005,9 +1005,7 @@ try_again: | |||
1005 | err = ulen; | 1005 | err = ulen; |
1006 | 1006 | ||
1007 | out_free: | 1007 | out_free: |
1008 | lock_sock(sk); | 1008 | skb_free_datagram_locked(sk, skb); |
1009 | skb_free_datagram(sk, skb); | ||
1010 | release_sock(sk); | ||
1011 | out: | 1009 | out: |
1012 | return err; | 1010 | return err; |
1013 | 1011 | ||