Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
e5c1202f
Commit
e5c1202f
authored
Mar 22, 2003
by
Jon Grimm
Committed by
David S. Miller
Mar 22, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IPSEC]: Fix SKB alloc len in ip6_build_xmit.
parent
3c5a3824
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
net/ipv6/ip6_output.c
net/ipv6/ip6_output.c
+2
-1
No files found.
net/ipv6/ip6_output.c
View file @
e5c1202f
...
...
@@ -643,7 +643,8 @@ int ip6_build_xmit(struct sock *sk, inet_getfrag_t getfrag, const void *data,
if
(
flags
&
MSG_PROBE
)
goto
out
;
/* alloc skb with mtu as we do in the IPv4 stack for IPsec */
skb
=
sock_alloc_send_skb
(
sk
,
mtu
,
flags
&
MSG_DONTWAIT
,
&
err
);
skb
=
sock_alloc_send_skb
(
sk
,
mtu
+
LL_RESERVED_SPACE
(
dev
),
flags
&
MSG_DONTWAIT
,
&
err
);
if
(
skb
==
NULL
)
{
IP6_INC_STATS
(
Ip6OutDiscards
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment