All of lore.kernel.org
 help / color / mirror / Atom feed
* SIOCGIFCONF and AF_AX25
@ 2022-01-16 16:54 Roland Schwarz
  2022-01-17 13:51 ` Dan Carpenter
  0 siblings, 1 reply; 3+ messages in thread
From: Roland Schwarz @ 2022-01-16 16:54 UTC (permalink / raw)
  To: linux-hams


[-- Attachment #1.1: Type: text/plain, Size: 486 bytes --]

Using ioctl SIOCGIFCONF one was able to list all interfaces, including 
AF_AX25.

This seems to be not be the case any more. I discovered it by trying to 
find out why N1UROs axdigi stopped working.

Is this a bug, or is there some other means how the interfaces can be 
enumerated?

73 roland, oe1rsa

-- 
__________________________________________
   _  _  | Roland Schwarz
  |_)(_  |
  | \__) | mailto:roland.schwarz@blackspace.at
________| http://www.blackspace.at

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: SIOCGIFCONF and AF_AX25
  2022-01-16 16:54 SIOCGIFCONF and AF_AX25 Roland Schwarz
@ 2022-01-17 13:51 ` Dan Carpenter
  2022-01-17 16:56   ` Roland Schwarz
  0 siblings, 1 reply; 3+ messages in thread
From: Dan Carpenter @ 2022-01-17 13:51 UTC (permalink / raw)
  To: Roland Schwarz; +Cc: linux-hams

On Sun, Jan 16, 2022 at 05:54:53PM +0100, Roland Schwarz wrote:
> Using ioctl SIOCGIFCONF one was able to list all interfaces, including
> AF_AX25.
> 
> This seems to be not be the case any more. I discovered it by trying to find
> out why N1UROs axdigi stopped working.
> 
> Is this a bug, or is there some other means how the interfaces can be
> enumerated?

In the kernel, the rule is "you're not allowed to break userspace".
What that means is that you can change the User facing API so long as
people don't notice and/or complain.  Since you are complaining that
means it is a bug.

Can you use git bisect to find out which patch broke this?

regards,
dan carpenter


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: SIOCGIFCONF and AF_AX25
  2022-01-17 13:51 ` Dan Carpenter
@ 2022-01-17 16:56   ` Roland Schwarz
  0 siblings, 0 replies; 3+ messages in thread
From: Roland Schwarz @ 2022-01-17 16:56 UTC (permalink / raw)
  To: Dan Carpenter; +Cc: linux-hams


[-- Attachment #1.1: Type: text/plain, Size: 700 bytes --]



On 17.01.22 at 14:51 wrote Dan Carpenter:
> Can you use git bisect to find out which patch broke this?

Thank you for coming back. It seems however there is no bug. I was 
expecting that N1URO's axdigi would work on plain AX25 ports, i.e. such 
that have no IP address assigned. It turns out, that as soon as I assign 
IP addresses the interfaces are enumerated as expected.

So it is not a kernel bug, and not likely a bug at all, probably only 
lacking documentation (or my inability to find it).

73 Roland

-- 
__________________________________________
   _  _  | Roland Schwarz
  |_)(_  |
  | \__) | mailto:roland.schwarz@blackspace.at
________| http://www.blackspace.at

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-01-17 16:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-16 16:54 SIOCGIFCONF and AF_AX25 Roland Schwarz
2022-01-17 13:51 ` Dan Carpenter
2022-01-17 16:56   ` Roland Schwarz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.