summaryrefslogtreecommitdiffstats
path: root/sys/libkern
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2013-04-25 12:42:09 +0000
committerglebius <glebius@FreeBSD.org>2013-04-25 12:42:09 +0000
commitdd30d87e8d858834352b3936fe169ce0163247ef (patch)
tree5c1e150c0ae9a03198c60921b88214b266d2e8a2 /sys/libkern
parent882f8cda19f255874002de3051ca5fc93f8f78ac (diff)
downloadFreeBSD-src-dd30d87e8d858834352b3936fe169ce0163247ef.zip
FreeBSD-src-dd30d87e8d858834352b3936fe169ce0163247ef.tar.gz
Introduce a pointer to const variable gw, which points either at the
same place as dst, or to the sockaddr in the routing table. The const constraint of gw makes us safe from modifing routing table accidentially. And "onstantness" of dst allows us to remove several bandaids, when we switched it back at &ro->ro_dst, now it always points there. Reviewed by: rrs
Diffstat (limited to 'sys/libkern')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud