My main motivation behind not making this static was that
there would be possibly other places in the bridge code
(besides br_netfilter.c) where we enter the IP stack and might
want to call this. Not sure if it's indeed the case though..
--
Bandan
My main motivation behind not making this static was that
there would be possibly other places in the bridge code
(besides br_netfilter.c) where we enter the IP stack and might
want to call this. Not sure if it's indeed the case though..
I checked by doing make allmodconfig as well as looking by
git grep 'br_parse_ip_options'
--
From: Bandan Das <hidden> Date: 2010-10-19 16:03:14
quoted
My main motivation behind not making this static was that
there would be possibly other places in the bridge code
(besides br_netfilter.c) where we enter the IP stack and might
want to call this. Not sure if it's indeed the case though..
I checked by doing make allmodconfig as well as looking by
git grep 'br_parse_ip_options'
--
Sorry, my wording was misleading :) What I meant was at this time,
it's only used in br_netfilter.c but may be sometime in the future,
it could possible be used in some other places where we enter the IP
stack from the bridge code.
But, I completely agree with you. It makes more sense to make it static
as of now.
Bandan
My main motivation behind not making this static was that
there would be possibly other places in the bridge code
(besides br_netfilter.c) where we enter the IP stack and might
want to call this. Not sure if it's indeed the case though..
You can un-static it when the use is added.
Patch applied, thanks Stephen.