diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-12-04 12:18:43 +0100 |
---|---|---|
committer | Adrian Bunk <bunk@stusta.de> | 2006-12-04 12:18:43 +0100 |
commit | 8cf6005296c61ff46afcc1f08b1791b4aa2e9ba5 (patch) | |
tree | 6c82662c07b05a70f3680f6d995d393569cb0088 /net/ipv4 | |
parent | 8e0a9377e5f04b0f2982b8f6afc38c80d828c250 (diff) | |
download | lwn-8cf6005296c61ff46afcc1f08b1791b4aa2e9ba5.tar.gz lwn-8cf6005296c61ff46afcc1f08b1791b4aa2e9ba5.zip |
remove garbage the sneaked into the ext3 fix
Spotted by Thomas Voegtle.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Diffstat (limited to 'net/ipv4')
-rw-r--r-- | net/ipv4/ip_output.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/ip_output.c b/net/ipv4/ip_output.c index b24c6a0c5574..8dcba3887f04 100644 --- a/net/ipv4/ip_output.c +++ b/net/ipv4/ip_output.c @@ -946,7 +946,7 @@ alloc_new_skb: skb_prev->csum = csum_sub(skb_prev->csum, skb->csum); data += fraggap; - pskb_trim_unique(skb_prev, maxfraglen); + skb_trim(skb_prev, maxfraglen); } copy = datalen - transhdrlen - fraggap; @@ -1139,7 +1139,7 @@ ssize_t ip_append_page(struct sock *sk, struct page *page, data, fraggap, 0); skb_prev->csum = csum_sub(skb_prev->csum, skb->csum); - pskb_trim_unique(skb_prev, maxfraglen); + skb_trim(skb_prev, maxfraglen); } /* |