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
c197a403
Commit
c197a403
authored
Feb 11, 2004
by
Jan Kasprzak
Committed by
Hideaki Yoshifuji
Feb 11, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[NET]: Do not send negative 2nd arg to skb_put().
With help from Yoshfuji Hideaki.
parent
a1c1b176
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
net/decnet/dn_rules.c
net/decnet/dn_rules.c
+1
-1
net/ipv4/fib_rules.c
net/ipv4/fib_rules.c
+1
-1
No files found.
net/decnet/dn_rules.c
View file @
c197a403
...
...
@@ -381,7 +381,7 @@ static int dn_fib_fill_rule(struct sk_buff *skb, struct dn_fib_rule *r, struct n
nlmsg_failure:
rtattr_failure:
skb_
put
(
skb
,
b
-
skb
->
tail
);
skb_
trim
(
skb
,
b
-
skb
->
data
);
return
-
1
;
}
...
...
net/ipv4/fib_rules.c
View file @
c197a403
...
...
@@ -438,7 +438,7 @@ static __inline__ int inet_fill_rule(struct sk_buff *skb,
nlmsg_failure:
rtattr_failure:
skb_
put
(
skb
,
b
-
skb
->
tail
);
skb_
trim
(
skb
,
b
-
skb
->
data
);
return
-
1
;
}
...
...
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