]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/ipv6/icmp.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394...
[karo-tx-linux.git] / net / ipv6 / icmp.c
index 2b59154c65d3127f065803b209a584cd81651783..90868fb42757bf8431eaea968d861d81c4da5c10 100644 (file)
@@ -835,8 +835,7 @@ static int __net_init icmpv6_sk_init(struct net *net)
                /* Enough space for 2 64K ICMP packets, including
                 * sk_buff struct overhead.
                 */
-               sk->sk_sndbuf =
-                       (2 * ((64 * 1024) + sizeof(struct sk_buff)));
+               sk->sk_sndbuf = 2 * SKB_TRUESIZE(64 * 1024);
        }
        return 0;