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
nexedi
linux
Commits
e9e8089c
Commit
e9e8089c
authored
Feb 08, 2004
by
Hideaki Yoshifuji
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IPVS]: Use LL_RESERVED_SPACE() where applicable.
parent
6411e71a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
net/ipv4/ipvs/ip_vs_xmit.c
net/ipv4/ipvs/ip_vs_xmit.c
+1
-1
No files found.
net/ipv4/ipvs/ip_vs_xmit.c
View file @
e9e8089c
...
@@ -370,7 +370,7 @@ ip_vs_tunnel_xmit(struct sk_buff *skb, struct ip_vs_conn *cp,
...
@@ -370,7 +370,7 @@ ip_vs_tunnel_xmit(struct sk_buff *skb, struct ip_vs_conn *cp,
/*
/*
* Okay, now see if we can stuff it in the buffer as-is.
* Okay, now see if we can stuff it in the buffer as-is.
*/
*/
max_headroom
=
(((
tdev
->
hard_header_len
+
15
)
&~
15
)
+
sizeof
(
struct
iphdr
)
);
max_headroom
=
LL_RESERVED_SPACE
(
tdev
)
+
sizeof
(
struct
iphdr
);
if
(
skb_headroom
(
skb
)
<
max_headroom
if
(
skb_headroom
(
skb
)
<
max_headroom
||
skb_cloned
(
skb
)
||
skb_shared
(
skb
))
{
||
skb_cloned
(
skb
)
||
skb_shared
(
skb
))
{
...
...
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