alistair23-linux/drivers/net/ipvlan
Gao Feng 3ea35d3406 driver: ipvlan: Remove unnecessary ipvlan NULL check in ipvlan_count_rx
There are three functions which would invoke the ipvlan_count_rx. They
are ipvlan_process_multicast, ipvlan_rcv_frame, and ipvlan_nf_input.
The former two functions already use the ipvlan directly before
ipvlan_count_rx, and ipvlan_nf_input gets the ipvlan from
ipvl_addr->master, it is not possible to be NULL too.
So the ipvlan pointer check is unnecessary in ipvlan_count_rx.

Signed-off-by: Gao Feng <fgao@ikuai8.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-12-28 14:23:22 -05:00
..
ipvlan.h ipvlan: fix multicast processing 2016-12-23 17:53:47 -05:00
ipvlan_core.c driver: ipvlan: Remove unnecessary ipvlan NULL check in ipvlan_count_rx 2016-12-28 14:23:22 -05:00
ipvlan_main.c driver: ipvlan: Define common functions to decrease duplicated codes used to add or del IP address 2016-12-28 14:23:21 -05:00
Makefile