Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 538
b: refs/heads/master
c: 594ccc1
h: refs/heads/master
v: v3
  • Loading branch information
Sridhar Samudrala authored and David S. Miller committed Apr 28, 2005
1 parent b00ee5b commit 8d47b85
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5e6bc34f86e450ff14c4817902d66aa9c786bc06
refs/heads/master: 594ccc14dfe4d61b476491758425a1c2ca4ec71b
4 changes: 2 additions & 2 deletions trunk/net/sctp/output.c
Original file line number Diff line number Diff line change
Expand Up @@ -313,12 +313,12 @@ int sctp_packet_transmit(struct sctp_packet *packet)
sk = chunk->skb->sk;

/* Allocate the new skb. */
nskb = dev_alloc_skb(packet->size);
nskb = alloc_skb(packet->size + LL_MAX_HEADER, GFP_ATOMIC);
if (!nskb)
goto nomem;

/* Make sure the outbound skb has enough header room reserved. */
skb_reserve(nskb, packet->overhead);
skb_reserve(nskb, packet->overhead + LL_MAX_HEADER);

/* Set the owning socket so that we know where to get the
* destination IP address.
Expand Down

0 comments on commit 8d47b85

Please sign in to comment.