* [PATCH net-next] net: Remove DECnet leftovers from flow.h.
@ 2022-09-30 14:37 Guillaume Nault
2022-09-30 15:07 ` Stephen Hemminger
2022-10-03 12:00 ` patchwork-bot+netdevbpf
0 siblings, 2 replies; 3+ messages in thread
From: Guillaume Nault @ 2022-09-30 14:37 UTC (permalink / raw)
To: David Miller, Jakub Kicinski, Paolo Abeni, Eric Dumazet
Cc: netdev, Stephen Hemminger
DECnet was removed by commit 1202cdd66531 ("Remove DECnet support from
kernel"). Let's also revome its flow structure.
Compile-tested only (allmodconfig).
Signed-off-by: Guillaume Nault <gnault@redhat.com>
---
include/net/flow.h | 26 --------------------------
1 file changed, 26 deletions(-)
diff --git a/include/net/flow.h b/include/net/flow.h
index 987bd511d652..2f0da4f0318b 100644
--- a/include/net/flow.h
+++ b/include/net/flow.h
@@ -54,11 +54,6 @@ union flowi_uli {
__u8 code;
} icmpt;
- struct {
- __le16 dport;
- __le16 sport;
- } dnports;
-
__be32 gre_key;
struct {
@@ -156,27 +151,11 @@ struct flowi6 {
__u32 mp_hash;
} __attribute__((__aligned__(BITS_PER_LONG/8)));
-struct flowidn {
- struct flowi_common __fl_common;
-#define flowidn_oif __fl_common.flowic_oif
-#define flowidn_iif __fl_common.flowic_iif
-#define flowidn_mark __fl_common.flowic_mark
-#define flowidn_scope __fl_common.flowic_scope
-#define flowidn_proto __fl_common.flowic_proto
-#define flowidn_flags __fl_common.flowic_flags
- __le16 daddr;
- __le16 saddr;
- union flowi_uli uli;
-#define fld_sport uli.ports.sport
-#define fld_dport uli.ports.dport
-} __attribute__((__aligned__(BITS_PER_LONG/8)));
-
struct flowi {
union {
struct flowi_common __fl_common;
struct flowi4 ip4;
struct flowi6 ip6;
- struct flowidn dn;
} u;
#define flowi_oif u.__fl_common.flowic_oif
#define flowi_iif u.__fl_common.flowic_iif
@@ -211,11 +190,6 @@ static inline struct flowi_common *flowi6_to_flowi_common(struct flowi6 *fl6)
return &(fl6->__fl_common);
}
-static inline struct flowi *flowidn_to_flowi(struct flowidn *fldn)
-{
- return container_of(fldn, struct flowi, u.dn);
-}
-
__u32 __get_hash_from_flowi6(const struct flowi6 *fl6, struct flow_keys *keys);
#endif
--
2.21.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] net: Remove DECnet leftovers from flow.h.
2022-09-30 14:37 [PATCH net-next] net: Remove DECnet leftovers from flow.h Guillaume Nault
@ 2022-09-30 15:07 ` Stephen Hemminger
2022-10-03 12:00 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: Stephen Hemminger @ 2022-09-30 15:07 UTC (permalink / raw)
To: Guillaume Nault
Cc: David Miller, Jakub Kicinski, Paolo Abeni, Eric Dumazet, netdev
On Fri, 30 Sep 2022 16:37:30 +0200
Guillaume Nault <gnault@redhat.com> wrote:
> DECnet was removed by commit 1202cdd66531 ("Remove DECnet support from
> kernel"). Let's also revome its flow structure.
>
> Compile-tested only (allmodconfig).
>
> Signed-off-by: Guillaume Nault <gnault@redhat.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] net: Remove DECnet leftovers from flow.h.
2022-09-30 14:37 [PATCH net-next] net: Remove DECnet leftovers from flow.h Guillaume Nault
2022-09-30 15:07 ` Stephen Hemminger
@ 2022-10-03 12:00 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2022-10-03 12:00 UTC (permalink / raw)
To: Guillaume Nault; +Cc: davem, kuba, pabeni, edumazet, netdev, stephen
Hello:
This patch was applied to netdev/net-next.git (master)
by David S. Miller <davem@davemloft.net>:
On Fri, 30 Sep 2022 16:37:30 +0200 you wrote:
> DECnet was removed by commit 1202cdd66531 ("Remove DECnet support from
> kernel"). Let's also revome its flow structure.
>
> Compile-tested only (allmodconfig).
>
> Signed-off-by: Guillaume Nault <gnault@redhat.com>
>
> [...]
Here is the summary with links:
- [net-next] net: Remove DECnet leftovers from flow.h.
https://git.kernel.org/netdev/net-next/c/9bc61c04ff6c
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-10-03 12:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-30 14:37 [PATCH net-next] net: Remove DECnet leftovers from flow.h Guillaume Nault
2022-09-30 15:07 ` Stephen Hemminger
2022-10-03 12:00 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).