Re: [PATCH v1 09/25] j1939: socket: add j1939_sk_match_dst

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On vr, 29 mrt 2019 14:58:43 +0100, Oleksij Rempel wrote:
> +	if (j1939_pgn_is_valid(jsk->pgn_rx_filter) &&
> +	    jsk->pgn_rx_filter != skcb->addr.dst_pgn)
> +		return false;

I must have misunderstood the introduction of pgn_rx_filter.
I'd assume that the PGN used during bind() is used for transmission,
and the one using connect() is used for reception.
Did I swap, or did I get compeletely lost?

Kurt



[Index of Archives]     [Automotive Discussions]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [CAN Bus]

  Powered by Linux