diff options
author | Christoph Lameter <clameter@sgi.com> | 2006-12-06 23:33:16 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-07 11:39:24 -0500 |
commit | 54e6ecb23951b195d02433a741c7f7cb0b796c78 (patch) | |
tree | c8885c49f37c8d383945b8af69d51597494ed62c /net/dccp/ccids/ccid3.c | |
parent | f7267c0c0721fd02ad3dc37c3d6dd24ccd81d4d6 (diff) |
[PATCH] slab: remove SLAB_ATOMIC
SLAB_ATOMIC is an alias of GFP_ATOMIC
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'net/dccp/ccids/ccid3.c')
-rw-r--r-- | net/dccp/ccids/ccid3.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/dccp/ccids/ccid3.c b/net/dccp/ccids/ccid3.c index cf8c07b2704f..66a27b9688ca 100644 --- a/net/dccp/ccids/ccid3.c +++ b/net/dccp/ccids/ccid3.c | |||
@@ -295,7 +295,7 @@ static int ccid3_hc_tx_send_packet(struct sock *sk, struct sk_buff *skb) | |||
295 | new_packet = dccp_tx_hist_head(&hctx->ccid3hctx_hist); | 295 | new_packet = dccp_tx_hist_head(&hctx->ccid3hctx_hist); |
296 | if (new_packet == NULL || new_packet->dccphtx_sent) { | 296 | if (new_packet == NULL || new_packet->dccphtx_sent) { |
297 | new_packet = dccp_tx_hist_entry_new(ccid3_tx_hist, | 297 | new_packet = dccp_tx_hist_entry_new(ccid3_tx_hist, |
298 | SLAB_ATOMIC); | 298 | GFP_ATOMIC); |
299 | 299 | ||
300 | if (unlikely(new_packet == NULL)) { | 300 | if (unlikely(new_packet == NULL)) { |
301 | DCCP_WARN("%s, sk=%p, not enough mem to add to history," | 301 | DCCP_WARN("%s, sk=%p, not enough mem to add to history," |
@@ -889,7 +889,7 @@ static void ccid3_hc_rx_update_li(struct sock *sk, u64 seq_loss, u8 win_loss) | |||
889 | /* new loss event detected */ | 889 | /* new loss event detected */ |
890 | /* calculate last interval length */ | 890 | /* calculate last interval length */ |
891 | seq_temp = dccp_delta_seqno(head->dccplih_seqno, seq_loss); | 891 | seq_temp = dccp_delta_seqno(head->dccplih_seqno, seq_loss); |
892 | entry = dccp_li_hist_entry_new(ccid3_li_hist, SLAB_ATOMIC); | 892 | entry = dccp_li_hist_entry_new(ccid3_li_hist, GFP_ATOMIC); |
893 | 893 | ||
894 | if (entry == NULL) { | 894 | if (entry == NULL) { |
895 | DCCP_BUG("out of memory - can not allocate entry"); | 895 | DCCP_BUG("out of memory - can not allocate entry"); |
@@ -1011,7 +1011,7 @@ static void ccid3_hc_rx_packet_recv(struct sock *sk, struct sk_buff *skb) | |||
1011 | } | 1011 | } |
1012 | 1012 | ||
1013 | packet = dccp_rx_hist_entry_new(ccid3_rx_hist, sk, opt_recv->dccpor_ndp, | 1013 | packet = dccp_rx_hist_entry_new(ccid3_rx_hist, sk, opt_recv->dccpor_ndp, |
1014 | skb, SLAB_ATOMIC); | 1014 | skb, GFP_ATOMIC); |
1015 | if (unlikely(packet == NULL)) { | 1015 | if (unlikely(packet == NULL)) { |
1016 | DCCP_WARN("%s, sk=%p, Not enough mem to add rx packet " | 1016 | DCCP_WARN("%s, sk=%p, Not enough mem to add rx packet " |
1017 | "to history, consider it lost!\n", dccp_role(sk), sk); | 1017 | "to history, consider it lost!\n", dccp_role(sk), sk); |