summaryrefslogtreecommitdiff
path: root/pcap_sg.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2013-06-10 23:17:30 +0200
committerTobias Klauser <tklauser@distanz.ch>2013-06-10 23:17:30 +0200
commitecdd39d3d31551af855feb1e1ad668b872fe1180 (patch)
tree2fcda741385bd9567d66441bd384de8fb0d84a4e /pcap_sg.c
parent75934a6d3b28e653ab06c631c8af17c2e5765fa2 (diff)
ifpps: Remove unused 'forks' member from struct ifstat
We never use or report it anywhere, so remove it. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'pcap_sg.c')
0 files changed, 0 insertions, 0 deletions
the correct bound device. Before this patch, when binding to a link-local address, the lookup was done with the original sk->sk_bound_dev_if, which was later overwritten with addr->l2tp_scope_id. Lookup is now performed with the final sk->sk_bound_dev_if value. Finally, the (addr_len >= sizeof(struct sockaddr_in6)) check has been dropped: addr is a sockaddr_l2tpip6 not sockaddr_in6 and addr_len has already been checked at this point (this part of the code seems to have been copy-pasted from net/ipv6/raw.c). Signed-off-by: Guillaume Nault <g.nault@alphalink.fr> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat