wengzhe commented on PR #14634:
URL: https://github.com/apache/nuttx/pull/14634#issuecomment-2527766874

   > When using the minimal CONFIG_NET configuration for SocketCAN. Ifup would 
fail with the following error code. Fixes `psock_socket: ERROR: socket address 
family unsupported: 2` This was caused because AF_INET got defined but 
`inet_sockif()` would return `NULL` because either `ICMP`, `TCP` or `UDP` 
dependency didn't met.
   
   Hi @PetervdPerk-NXP, we're curious about the situation you encountered.  We 
found situations (e.g. as a usrsock client) that need to use `AF_INET` as 
`NET_SOCK_FAMILY` without local stack and we want to make sure your situation 
is not broken when we do later changes. Meanwhile, enabling `CONFIG_NET_IPv4` 
for SocketCAN without any network protocol seems a little bit strange, may you 
share the reason?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to