projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33cf601
)
mptcp: drop MPTCP_PM_MAX_ADDR
author
Geliang Tang
<geliangtang@gmail.com>
Mon, 15 Jun 2020 08:28:03 +0000
(16:28 +0800)
committer
David S. Miller
<davem@davemloft.net>
Mon, 15 Jun 2020 20:01:17 +0000
(13:01 -0700)
We have defined MPTCP_PM_ADDR_MAX in pm_netlink.c, so drop this duplicate macro.
Fixes:
1b1c7a0ef7f3
("mptcp: Add path manager interface")
Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Reviewed-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mptcp/protocol.h
patch
|
blob
|
history
diff --git
a/net/mptcp/protocol.h
b/net/mptcp/protocol.h
index
809687d
..
70ed698
100644
(file)
--- a/
net/mptcp/protocol.h
+++ b/
net/mptcp/protocol.h
@@
-135,8
+135,6
@@
static inline __be32 mptcp_option(u8 subopt, u8 len, u8 nib, u8 field)
((nib & 0xF) << 8) | field);
}
-#define MPTCP_PM_MAX_ADDR 4
-
struct mptcp_addr_info {
sa_family_t family;
__be16 port;