hippi: Remove unused hippi_neigh_setup_dev
Subsystems (2)
PATCH 1/1 hippi: Remove unused hippi_neigh_setup_dev
From: "Dr. David Alan Gilbert" <[email protected]>
hippi_neigh_setup_dev() has been unused since commit e3804cbebb67 ("net: remove COMPAT_NET_DEV_OPS")
Remove it.
(I'm a little suspicious it's the only setup call removed by that previous commit?)
--- include/linux/hippidevice.h | 1 - net/802/hippi.c | 15 --------------- 2 files changed, 16 deletions(-)
include/linux/hippidevice.h +0 -1
@@ -33,7 +33,6 @@ struct hippi_cb {__be16 hippi_type_trans (struct sk_buff *skb,struct net_device *dev);int hippi_mac_addr (struct net_device *dev,void *p); -int hippi_neigh_setup_dev (struct net_device *dev,struct neigh_parms *p);struct net_device *alloc_hippi_dev (int sizeof_priv);#endif
net/802/hippi.c +0 -15
@@ -126,21 +126,6 @@ int hippi_mac_addr(struct net_device *dev, void *p) }EXPORT_SYMBOL (hippi_mac_addr); -int hippi_neigh_setup_dev (struct net_device *dev,struct neigh_parms *p) -{ -/* Never send broadcast/multicast ARP messages */ -NEIGH_VAR_INIT (p,MCAST_PROBES ,0 ); - -/* In IPv6 unicast probes are valid even on NBMA, -* because they are encapsulated in normal IPv6 protocol. -* Should be a generic flag. -*/ -if (p->tbl->family !=AF_INET6 ) -NEIGH_VAR_INIT (p,UCAST_PROBES ,0 ); -return 0 ; -} -EXPORT_SYMBOL (hippi_neigh_setup_dev); -static const struct header_ops hippi_header_ops = { .create = hippi_header, };
Signature · 1 line
2.47.1
Note the hippi list address bounces:
<[email protected]>:
Sorry, no mailbox here by that name. (#5.1.1)
Dave
Quoted 57 lines · * [email protected] ([email protected]) wrote:
From: "Dr. David Alan Gilbert" <[email protected]>
hippi_neigh_setup_dev()has been unused since commite3804cbebb67("net: removeCOMPAT_NET_DEV_OPS")Remove it.
(I'm a little suspicious it's the only setup call removed by that previous commit?)
Signed-off-by Dr. David Alan Gilbert <[email protected]>--- include/linux/hippidevice.h | 1 - net/802/hippi.c | 15 --------------- 2 files changed, 16 deletions(-)include/linux/hippidevice.h +0
-1@@ -33,7 +33,6 @@ struct hippi_cb {__be16 hippi_type_trans (struct sk_buff *skb,struct net_device *dev);int hippi_mac_addr (struct net_device *dev,void *p); -int hippi_neigh_setup_dev (struct net_device *dev,struct neigh_parms *p);struct net_device *alloc_hippi_dev (int sizeof_priv);#endif net/802/hippi.c +0
-15@@ -126,21 +126,6 @@ int hippi_mac_addr(struct net_device *dev, void *p) }EXPORT_SYMBOL (hippi_mac_addr); -int hippi_neigh_setup_dev (struct net_device *dev,struct neigh_parms *p) -{ -/* Never send broadcast/multicast ARP messages */ -NEIGH_VAR_INIT (p,MCAST_PROBES ,0 ); - -/* In IPv6 unicast probes are valid even on NBMA, -* because they are encapsulated in normal IPv6 protocol. -* Should be a generic flag. -*/ -if (p->tbl->family !=AF_INET6 ) -NEIGH_VAR_INIT (p,UCAST_PROBES ,0 ); -return 0 ; -} -EXPORT_SYMBOL (hippi_neigh_setup_dev); -static const struct header_ops hippi_header_ops = { .create = hippi_header, };Signature · 1 line
2.47.1
Signature · 4 lines
-----Open up your eyes, open up your mind, open up your code ------- / Dr. David Alan Gilbert | Running GNU/Linux | Happy \ \ dave @ treblig.org | | In Hex / \ _________________________|_____ http://www.treblig.org |_______/
Simon Horman
reviewerQuoted 4 lines · Dr. David Alan Gilbert
Note the hippi list address bounces:
<[email protected]>:
Sorry, no mailbox here by that name. (#5.1.1)
I suggest submitting a patch to MAINTAINERS to drop the that ML from there. In general, patches for MAINTAINERS can be targeted at net.
Quoted 8 lines · * Simon Horman ([email protected]) wrote:
Quoted 4 lines · Dr. David Alan Gilbert
Note the hippi list address bounces:
<[email protected]>:
Sorry, no mailbox here by that name. (#5.1.1)I suggest submitting a patch to
MAINTAINERSto drop the that ML from there. In general, patches forMAINTAINERScan be targeted at net.
Thanks,
Just sent, see [email protected]
Dave
Signature · 4 lines
-----Open up your eyes, open up your mind, open up your code ------- / Dr. David Alan Gilbert | Running GNU/Linux | Happy \ \ dave @ treblig.org | | In Hex / \ _________________________|_____ http://www.treblig.org |_______/
Simon Horman
reviewerQuoted 11 lines · On Sun, Dec 15, 2024 at 02:26:18AM +0000, [email protected] wrote:
From: "Dr. David Alan Gilbert" <[email protected]>
hippi_neigh_setup_dev()has been unused since commite3804cbebb67("net: removeCOMPAT_NET_DEV_OPS")Remove it.
(I'm a little suspicious it's the only setup call removed by that previous commit?)
Signed-off-by Dr. David Alan Gilbert <[email protected]>
Hi David,
There is a dangling comment referring to hippi_neigh_setup_dev in hippi_setup().
/* * HIPPI doesn't support broadcast+multicast and we only use * static ARP tables. ARP is disabled by hippi_neigh_setup_dev. */
Could you fix that up too?
pw-bot: changes-requested
Quoted 18 lines · * Simon Horman ([email protected]) wrote:
Quoted 11 lines · On Sun, Dec 15, 2024 at 02:26:18AM +0000, [email protected] wrote:
From: "Dr. David Alan Gilbert" <[email protected]>
hippi_neigh_setup_dev()has been unused since commite3804cbebb67("net: removeCOMPAT_NET_DEV_OPS")Remove it.
(I'm a little suspicious it's the only setup call removed by that previous commit?)
Signed-off-by Dr. David Alan Gilbert <[email protected]>Hi David,
There is a dangling comment referring to
hippi_neigh_setup_devinhippi_setup().
Quoted 6 lines
/* * HIPPI doesn't support broadcast+multicast and we only use * static ARP tables. ARP is disabled by hippi_neigh_setup_dev. */Could you fix that up too?
I saw that, and it raised the suspicion that I mentioned in the commit message; is that code relying on the uncalled, removed function to disable ARPs?
Dave
Quoted 2 lines
pw-bot: changes-requested
Signature · 4 lines
-----Open up your eyes, open up your mind, open up your code ------- / Dr. David Alan Gilbert | Running GNU/Linux | Happy \ \ dave @ treblig.org | | In Hex / \ _________________________|_____ http://www.treblig.org |_______/