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
3f5d6af0
Commit
3f5d6af0
authored
Jun 25, 2013
by
Stephen Hemminger
Browse files
Options
Browse Files
Download
Plain Diff
Merge ../vxlan-x
parents
8599b52e
537f7f84
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
359 additions
and
216 deletions
+359
-216
drivers/net/vxlan.c
drivers/net/vxlan.c
+354
-208
net/bridge/br_fdb.c
net/bridge/br_fdb.c
+5
-0
net/core/rtnetlink.c
net/core/rtnetlink.c
+0
-8
No files found.
drivers/net/vxlan.c
View file @
3f5d6af0
This diff is collapsed.
Click to expand it.
net/bridge/br_fdb.c
View file @
3f5d6af0
...
...
@@ -707,6 +707,11 @@ int br_fdb_add(struct ndmsg *ndm, struct nlattr *tb[],
}
}
if
(
is_zero_ether_addr
(
addr
))
{
pr_info
(
"bridge: RTM_NEWNEIGH with invalid ether address
\n
"
);
return
-
EINVAL
;
}
p
=
br_port_get_rtnl
(
dev
);
if
(
p
==
NULL
)
{
pr_info
(
"bridge: RTM_NEWNEIGH %s not a bridge port
\n
"
,
...
...
net/core/rtnetlink.c
View file @
3f5d6af0
...
...
@@ -2109,10 +2109,6 @@ static int rtnl_fdb_add(struct sk_buff *skb, struct nlmsghdr *nlh)
}
addr
=
nla_data
(
tb
[
NDA_LLADDR
]);
if
(
is_zero_ether_addr
(
addr
))
{
pr_info
(
"PF_BRIDGE: RTM_NEWNEIGH with invalid ether address
\n
"
);
return
-
EINVAL
;
}
err
=
-
EOPNOTSUPP
;
...
...
@@ -2210,10 +2206,6 @@ static int rtnl_fdb_del(struct sk_buff *skb, struct nlmsghdr *nlh)
}
addr
=
nla_data
(
tb
[
NDA_LLADDR
]);
if
(
is_zero_ether_addr
(
addr
))
{
pr_info
(
"PF_BRIDGE: RTM_DELNEIGH with invalid ether address
\n
"
);
return
-
EINVAL
;
}
err
=
-
EOPNOTSUPP
;
...
...
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