Branch: refs/heads/master
Home:
https://github.com/jpirko/libteam
Commit: 6e25a31a2f8f7b40c89e107f997024a2411a50e9
https://github.com/jpirko/libteam/commit/6e25a31a2f8f7b40c89e107f997024a2...
Author: Jiri Pirko <jiri(a)resnulli.us>
Date: 2015-04-02 (Thu, 02 Apr 2015)
Changed paths:
M teamd/teamd_lw_nsna_ping.c
Log Message:
-----------
teamd: lw: nsna_ping: fix na rx handling
nsna ping linkwatch for rx of NAs uses packet socket bound to ETH_P_ARP.
This socket gets skb delivered in after rx_handler is called, unlike
ETH_P_ALL. When put in bridge, bridge consumes all incoming skbs, therefore
the packet socket never sees any NAs.
To fix this, bind the socket to ETH_P_ALL to move the probe before
rx_handler. Socket filter is updated with checking protocol for ipv6
type to avoid receiving of another packets.
Signed-off-by: Jiri Pirko <jiri(a)resnulli.us>